diff --git a/msgraph/generated/app_catalogs/teams_apps/teams_apps_request_builder.py b/msgraph/generated/app_catalogs/teams_apps/teams_apps_request_builder.py index 57cd17efe1..39780f9539 100644 --- a/msgraph/generated/app_catalogs/teams_apps/teams_apps_request_builder.py +++ b/msgraph/generated/app_catalogs/teams_apps/teams_apps_request_builder.py @@ -48,7 +48,7 @@ def by_teams_app_id(self,teams_app_id: str) -> TeamsAppItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[TeamsAppsRequestBuilderGetQueryParameters]] = None) -> Optional[TeamsAppCollectionResponse]: """ - 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. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAppCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/appcatalogs-list-teamsapps?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def post(self,body: TeamsApp, request_configuration: Optional[RequestConfi def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[TeamsAppsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - 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. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TeamsAppsRequestBuilderGetQueryParameters(): """ - 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. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/chats/item/messages/messages_request_builder.py b/msgraph/generated/chats/item/messages/messages_request_builder.py index 6b7bed5ba9..4328251d58 100644 --- a/msgraph/generated/chats/item/messages/messages_request_builder.py +++ b/msgraph/generated/chats/item/messages/messages_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Messages async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] - Find more info here: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/device_app_management/device_app_management_request_builder.py b/msgraph/generated/device_app_management/device_app_management_request_builder.py index bf67101910..b1858d1823 100644 --- a/msgraph/generated/device_app_management/device_app_management_request_builder.py +++ b/msgraph/generated/device_app_management/device_app_management_request_builder.py @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceAp Read properties and relationships of the deviceAppManagement object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceAppManagement] - Find more info here: https://learn.microsoft.com/graph/api/intune-policyset-deviceappmanagement-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -71,7 +71,7 @@ async def patch(self,body: DeviceAppManagement, request_configuration: Optional[ param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceAppManagement] - Find more info here: https://learn.microsoft.com/graph/api/intune-unlock-deviceappmanagement-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py b/msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py index afa08ef5bb..9a55189ef5 100644 --- a/msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py @@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppPolicyItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppPolicy]: """ - Read properties and relationships of the managedAppConfiguration object. + Read properties and relationships of the targetedManagedAppProtection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppPolicy] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppPolicyItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the managedAppConfiguration object. + Read properties and relationships of the targetedManagedAppProtection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -158,7 +158,7 @@ class ManagedAppPolicyItemRequestBuilderDeleteRequestConfiguration(RequestConfig @dataclass class ManagedAppPolicyItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the managedAppConfiguration object. + Read properties and relationships of the targetedManagedAppProtection object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py b/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py index e77fabd017..9038ad6fc1 100644 --- a/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py @@ -48,10 +48,10 @@ def by_managed_app_policy_id(self,managed_app_policy_id: str) -> ManagedAppPolic async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppPoliciesRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppPolicyCollectionResponse]: """ - List properties and relationships of the windowsInformationProtection objects. + List properties and relationships of the targetedManagedAppProtection objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppPolicyCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -92,7 +92,7 @@ async def post(self,body: ManagedAppPolicy, request_configuration: Optional[Requ def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppPoliciesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the windowsInformationProtection objects. + List properties and relationships of the targetedManagedAppProtection objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ManagedAppPoliciesRequestBuilderGetQueryParameters(): """ - List properties and relationships of the windowsInformationProtection objects. + List properties and relationships of the targetedManagedAppProtection objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py b/msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py index fcf0789666..1bf0911e41 100644 --- a/msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py @@ -52,10 +52,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppRegistrationItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppRegistration]: """ - Read properties and relationships of the managedAppRegistration object. + Read properties and relationships of the androidManagedAppRegistration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppRegistration] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppRegistrationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the managedAppRegistration object. + Read properties and relationships of the androidManagedAppRegistration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -178,7 +178,7 @@ class ManagedAppRegistrationItemRequestBuilderDeleteRequestConfiguration(Request @dataclass class ManagedAppRegistrationItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the managedAppRegistration object. + Read properties and relationships of the androidManagedAppRegistration object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py b/msgraph/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py index 635cff2243..4ccc77aceb 100644 --- a/msgraph/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py @@ -49,10 +49,10 @@ def by_managed_app_registration_id(self,managed_app_registration_id: str) -> Man async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppRegistrationsRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppRegistrationCollectionResponse]: """ - List properties and relationships of the androidManagedAppRegistration objects. + List properties and relationships of the managedAppRegistration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppRegistrationCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -94,7 +94,7 @@ async def post(self,body: ManagedAppRegistration, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppRegistrationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the androidManagedAppRegistration objects. + List properties and relationships of the managedAppRegistration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -149,7 +149,7 @@ def get_user_ids_with_flagged_app_registration(self) -> GetUserIdsWithFlaggedApp @dataclass class ManagedAppRegistrationsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the androidManagedAppRegistration objects. + List properties and relationships of the managedAppRegistration objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py b/msgraph/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py index 036fe0555a..be560ed430 100644 --- a/msgraph/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py +++ b/msgraph/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py @@ -48,10 +48,10 @@ def by_managed_e_book_assignment_id(self,managed_e_book_assignment_id: str) -> M async def get(self,request_configuration: Optional[RequestConfiguration[AssignmentsRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedEBookAssignmentCollectionResponse]: """ - List properties and relationships of the managedEBookAssignment objects. + List properties and relationships of the iosVppEBookAssignment objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedEBookAssignmentCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -93,7 +93,7 @@ async def post(self,body: ManagedEBookAssignment, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AssignmentsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the managedEBookAssignment objects. + List properties and relationships of the iosVppEBookAssignment objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AssignmentsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the managedEBookAssignment objects. + List properties and relationships of the iosVppEBookAssignment objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py b/msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py index 32bdf1f04f..e13ccc383f 100644 --- a/msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py +++ b/msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py @@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ManagedEBookAssignmentItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedEBookAssignment]: """ - Read properties and relationships of the managedEBookAssignment object. + Read properties and relationships of the iosVppEBookAssignment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedEBookAssignment] - Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ManagedE async def patch(self,body: ManagedEBookAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ManagedEBookAssignment]: """ - Update the properties of a managedEBookAssignment object. + Update the properties of a iosVppEBookAssignment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedEBookAssignment] - Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedEBookAssignmentItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the managedEBookAssignment object. + Read properties and relationships of the iosVppEBookAssignment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: ManagedEBookAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a managedEBookAssignment object. + Update the properties of a iosVppEBookAssignment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -150,7 +150,7 @@ class ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration(Request @dataclass class ManagedEBookAssignmentItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the managedEBookAssignment object. + Read properties and relationships of the iosVppEBookAssignment object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py b/msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py index d0ca8f3a4e..2981fe0fbf 100644 --- a/msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py +++ b/msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py @@ -48,10 +48,10 @@ def by_managed_e_book_id(self,managed_e_book_id: str) -> ManagedEBookItemRequest async def get(self,request_configuration: Optional[RequestConfiguration[ManagedEBooksRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedEBookCollectionResponse]: """ - List properties and relationships of the managedEBook objects. + List properties and relationships of the iosVppEBook objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedEBookCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebook-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebook-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -93,7 +93,7 @@ async def post(self,body: ManagedEBook, request_configuration: Optional[RequestC def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedEBooksRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the managedEBook objects. + List properties and relationships of the iosVppEBook objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ManagedEBooksRequestBuilderGetQueryParameters(): """ - List properties and relationships of the managedEBook objects. + List properties and relationships of the iosVppEBook objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.py b/msgraph/generated/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.py index 4d17033228..769ec4a201 100644 --- a/msgraph/generated/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.py +++ b/msgraph/generated/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.py @@ -56,10 +56,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedDeviceMobileAppConfiguration]: """ - Read properties and relationships of the managedDeviceMobileAppConfiguration object. + Read properties and relationships of the iosMobileAppConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedDeviceMobileAppConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -112,7 +112,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the managedDeviceMobileAppConfiguration object. + Read properties and relationships of the iosMobileAppConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -210,7 +210,7 @@ class ManagedDeviceMobileAppConfigurationItemRequestBuilderDeleteRequestConfigur @dataclass class ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the managedDeviceMobileAppConfiguration object. + Read properties and relationships of the iosMobileAppConfiguration object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.py b/msgraph/generated/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.py index 253d74c623..516265eec7 100644 --- a/msgraph/generated/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.py +++ b/msgraph/generated/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.py @@ -48,10 +48,10 @@ def by_managed_device_mobile_app_configuration_id(self,managed_device_mobile_app async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppConfigurationsRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedDeviceMobileAppConfigurationCollectionResponse]: """ - List properties and relationships of the managedDeviceMobileAppConfiguration objects. + List properties and relationships of the iosMobileAppConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedDeviceMobileAppConfigurationCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -93,7 +93,7 @@ async def post(self,body: ManagedDeviceMobileAppConfiguration, request_configura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppConfigurationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the managedDeviceMobileAppConfiguration objects. + List properties and relationships of the iosMobileAppConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MobileAppConfigurationsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the managedDeviceMobileAppConfiguration objects. + List properties and relationships of the iosMobileAppConfiguration objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py index 504f1ef14d..09306aaf89 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py +++ b/msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py @@ -50,10 +50,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a win32LobApp. + Deletes a iosStoreApp. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-win32lobapp-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-iosstoreapp-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -69,10 +69,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileApp]: """ - Read properties and relationships of the iosStoreApp object. + Read properties and relationships of the windowsWebApp object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileApp] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-iosstoreapp-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-windowswebapp-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -90,11 +90,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MobileAp async def patch(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MobileApp]: """ - Update the properties of a microsoftStoreForBusinessApp object. + Update the properties of a androidLobApp object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileApp] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-microsoftstoreforbusinessapp-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-androidlobapp-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -114,7 +114,7 @@ async def patch(self,body: MobileApp, request_configuration: Optional[RequestCon def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a win32LobApp. + Deletes a iosStoreApp. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the iosStoreApp object. + Read properties and relationships of the windowsWebApp object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -136,7 +136,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a microsoftStoreForBusinessApp object. + Update the properties of a androidLobApp object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -340,7 +340,7 @@ class MobileAppItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration @dataclass class MobileAppItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the iosStoreApp object. + Read properties and relationships of the windowsWebApp object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py index 99005cdf6b..376b0d2ae5 100644 --- a/msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py +++ b/msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py @@ -64,10 +64,10 @@ def by_mobile_app_id(self,mobile_app_id: str) -> MobileAppItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppCollectionResponse]: """ - List properties and relationships of the managedIOSLobApp objects. + List properties and relationships of the webApp objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-managedioslobapp-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-webapp-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -85,11 +85,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MobileAp async def post(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MobileApp]: """ - Create a new androidLobApp object. + Create a new macOSOfficeSuiteApp object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileApp] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-androidlobapp-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-macosofficesuiteapp-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -109,7 +109,7 @@ async def post(self,body: MobileApp, request_configuration: Optional[RequestConf def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the managedIOSLobApp objects. + List properties and relationships of the webApp objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new androidLobApp object. + Create a new macOSOfficeSuiteApp object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -299,7 +299,7 @@ def graph_windows_web_app(self) -> GraphWindowsWebAppRequestBuilder: @dataclass class MobileAppsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the managedIOSLobApp objects. + List properties and relationships of the webApp objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py b/msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py index 455abc9ad8..98d49589aa 100644 --- a/msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py +++ b/msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py @@ -48,10 +48,10 @@ def by_device_compliance_policy_id(self,device_compliance_policy_id: str) -> Dev async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePoliciesRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceCompliancePolicyCollectionResponse]: """ - List properties and relationships of the androidCompliancePolicy objects. + List properties and relationships of the windows81CompliancePolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCompliancePolicyCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcompliancepolicy-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCo async def post(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceCompliancePolicy]: """ - Create a new macOSCompliancePolicy object. + Create a new androidCompliancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCompliancePolicy] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcompliancepolicy-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -93,7 +93,7 @@ async def post(self,body: DeviceCompliancePolicy, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePoliciesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the androidCompliancePolicy objects. + List properties and relationships of the windows81CompliancePolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new macOSCompliancePolicy object. + Create a new androidCompliancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DeviceCompliancePoliciesRequestBuilderGetQueryParameters(): """ - List properties and relationships of the androidCompliancePolicy objects. + List properties and relationships of the windows81CompliancePolicy objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py b/msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py index db5b95ac16..e880ca62d9 100644 --- a/msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py +++ b/msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py @@ -59,10 +59,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePolicyItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceCompliancePolicy]: """ - Read properties and relationships of the iosCompliancePolicy object. + Read properties and relationships of the windowsPhone81CompliancePolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCompliancePolicy] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81compliancepolicy-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -80,11 +80,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCo async def patch(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceCompliancePolicy]: """ - Update the properties of a windows81CompliancePolicy object. + Update the properties of a windows10CompliancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCompliancePolicy] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -115,7 +115,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePolicyItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the iosCompliancePolicy object. + Read properties and relationships of the windowsPhone81CompliancePolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a windows81CompliancePolicy object. + Update the properties of a windows10CompliancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -240,7 +240,7 @@ class DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration(Request @dataclass class DeviceCompliancePolicyItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the iosCompliancePolicy object. + Read properties and relationships of the windowsPhone81CompliancePolicy object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py b/msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py index fbfc49562e..61e365ec97 100644 --- a/msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py +++ b/msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCo async def post(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceConfiguration]: """ - Create a new iosCustomConfiguration object. + Create a new windows81GeneralConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscustomconfiguration-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81generalconfiguration-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new iosCustomConfiguration object. + Create a new windows81GeneralConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py b/msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py index eaef8f8527..b3a4bfc980 100644 --- a/msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py +++ b/msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py @@ -58,10 +58,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceConfiguration]: """ - Read properties and relationships of the windows10GeneralConfiguration object. + Read properties and relationships of the androidCustomConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10generalconfiguration-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcustomconfiguration-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -91,11 +91,11 @@ def get_oma_setting_plain_text_value_with_secret_reference_value_id(self,secret_ async def patch(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceConfiguration]: """ - Update the properties of a androidCustomConfiguration object. + Update the properties of a windows10SecureAssessmentConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcustomconfiguration-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10secureassessmentconfiguration-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -126,7 +126,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the windows10GeneralConfiguration object. + Read properties and relationships of the androidCustomConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a androidCustomConfiguration object. + Update the properties of a windows10SecureAssessmentConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -233,7 +233,7 @@ class DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration(RequestCon @dataclass class DeviceConfigurationItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the windows10GeneralConfiguration object. + Read properties and relationships of the androidCustomConfiguration object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py b/msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py index e6179054fc..61ae5480b3 100644 --- a/msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py +++ b/msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceEn async def post(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceEnrollmentConfiguration]: """ - Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. + Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceEnrollmentConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. + Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py b/msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py index fc0794481e..9c17535def 100644 --- a/msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py +++ b/msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py @@ -53,10 +53,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceEnrollmentConfiguration]: """ - Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. + Read properties and relationships of the deviceEnrollmentLimitConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceEnrollmentConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. + Read properties and relationships of the deviceEnrollmentLimitConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -180,7 +180,7 @@ class DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration( @dataclass class DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. + Read properties and relationships of the deviceEnrollmentLimitConfiguration object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_management_request_builder.py b/msgraph/generated/device_management/device_management_request_builder.py index 8f4bc4ea9d..05bd67ae82 100644 --- a/msgraph/generated/device_management/device_management_request_builder.py +++ b/msgraph/generated/device_management/device_management_request_builder.py @@ -129,7 +129,7 @@ async def patch(self,body: DeviceManagement, request_configuration: Optional[Req param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceManagement] - Find more info here: https://learn.microsoft.com/graph/api/intune-tem-devicemanagement-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-devices-devicemanagement-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py b/msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py index a5dc2e4463..950a510fd3 100644 --- a/msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py +++ b/msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py @@ -32,10 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a roleDefinition. + Deletes a deviceAndAppManagementRoleDefinition. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -72,11 +72,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi async def patch(self,body: RoleDefinition, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RoleDefinition]: """ - Update the properties of a deviceAndAppManagementRoleDefinition object. + Update the properties of a roleDefinition object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RoleDefinition] - Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -96,7 +96,7 @@ async def patch(self,body: RoleDefinition, request_configuration: Optional[Reque def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a roleDefinition. + Deletes a deviceAndAppManagementRoleDefinition. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -118,7 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: RoleDefinition, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a deviceAndAppManagementRoleDefinition object. + Update the properties of a roleDefinition object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py b/msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py index 3d8189289f..e060ffa0f1 100644 --- a/msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py +++ b/msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py @@ -48,10 +48,10 @@ def by_role_definition_id(self,role_definition_id: str) -> RoleDefinitionItemReq async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionsRequestBuilderGetQueryParameters]] = None) -> Optional[RoleDefinitionCollectionResponse]: """ - List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + List properties and relationships of the roleDefinition objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RoleDefinitionCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -93,7 +93,7 @@ async def post(self,body: RoleDefinition, request_configuration: Optional[Reques def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + List properties and relationships of the roleDefinition objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleDefinitionsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + List properties and relationships of the roleDefinition objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/drives/item/items/item/discard_checkout/discard_checkout_request_builder.py b/msgraph/generated/drives/item/items/item/discard_checkout/discard_checkout_request_builder.py new file mode 100644 index 0000000000..1036c11c0e --- /dev/null +++ b/msgraph/generated/drives/item/items/item/discard_checkout/discard_checkout_request_builder.py @@ -0,0 +1,78 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + +class DiscardCheckoutRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the discardCheckout method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new DiscardCheckoutRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/discardCheckout", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + 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. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + Find more info here: https://learn.microsoft.com/graph/api/driveitem-discardcheckout?view=graph-rest-1.0 + """ + request_info = self.to_post_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + 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. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> DiscardCheckoutRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: DiscardCheckoutRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return DiscardCheckoutRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class DiscardCheckoutRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/drives/item/items/item/drive_item_item_request_builder.py b/msgraph/generated/drives/item/items/item/drive_item_item_request_builder.py index 9030551f24..5cc8beb449 100644 --- a/msgraph/generated/drives/item/items/item/drive_item_item_request_builder.py +++ b/msgraph/generated/drives/item/items/item/drive_item_item_request_builder.py @@ -27,6 +27,7 @@ from .create_upload_session.create_upload_session_request_builder import CreateUploadSessionRequestBuilder from .delta.delta_request_builder import DeltaRequestBuilder from .delta_with_token.delta_with_token_request_builder import DeltaWithTokenRequestBuilder + from .discard_checkout.discard_checkout_request_builder import DiscardCheckoutRequestBuilder from .extract_sensitivity_labels.extract_sensitivity_labels_request_builder import ExtractSensitivityLabelsRequestBuilder from .follow.follow_request_builder import FollowRequestBuilder from .get_activities_by_interval.get_activities_by_interval_request_builder import GetActivitiesByIntervalRequestBuilder @@ -309,6 +310,15 @@ def delta(self) -> DeltaRequestBuilder: return DeltaRequestBuilder(self.request_adapter, self.path_parameters) + @property + def discard_checkout(self) -> DiscardCheckoutRequestBuilder: + """ + Provides operations to call the discardCheckout method. + """ + from .discard_checkout.discard_checkout_request_builder import DiscardCheckoutRequestBuilder + + return DiscardCheckoutRequestBuilder(self.request_adapter, self.path_parameters) + @property def extract_sensitivity_labels(self) -> ExtractSensitivityLabelsRequestBuilder: """ diff --git a/msgraph/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py b/msgraph/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py index a31c07d3e3..fe2e0f7911 100644 --- a/msgraph/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py +++ b/msgraph/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py @@ -125,10 +125,10 @@ def columns_before_with_count(self,count: int) -> ColumnsBeforeWithCountRequestB async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookRange]: """ - Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + Retrieve the properties and relationships of range object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] - Find more info here: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/range-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -224,7 +224,7 @@ def rows_below_with_count(self,count: int) -> RowsBelowWithCountRequestBuilder: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + Retrieve the properties and relationships of range object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py b/msgraph/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py index a48af32884..7549f42b34 100644 --- a/msgraph/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py +++ b/msgraph/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py @@ -32,11 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookTable]: """ - Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. + Use this API to create a new Table. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTable] - Find more info here: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +56,7 @@ async def post(self,body: AddPostRequestBody, request_configuration: Optional[Re def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. + Use this API to create a new Table. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py index c5a93505f8..1c9281fe3c 100644 --- a/msgraph/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py +++ b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py @@ -125,10 +125,10 @@ def columns_before_with_count(self,count: int) -> ColumnsBeforeWithCountRequestB async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookRange]: """ - Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + Retrieve the properties and relationships of range object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] - Find more info here: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/range-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -224,7 +224,7 @@ def rows_below_with_count(self,count: int) -> RowsBelowWithCountRequestBuilder: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + Retrieve the properties and relationships of range object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py index 1057b1511c..dcee438289 100644 --- a/msgraph/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py +++ b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py @@ -32,11 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookTable]: """ - Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. + Use this API to create a new Table. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTable] - Find more info here: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +56,7 @@ async def post(self,body: AddPostRequestBody, request_configuration: Optional[Re def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. + Use this API to create a new Table. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/external/connections/item/items/item/external_item_item_request_builder.py b/msgraph/generated/external/connections/item/items/item/external_item_item_request_builder.py index 5c2a2db235..92f9711406 100644 --- a/msgraph/generated/external/connections/item/items/item/external_item_item_request_builder.py +++ b/msgraph/generated/external/connections/item/items/item/external_item_item_request_builder.py @@ -73,11 +73,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External async def put(self,body: ExternalItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ExternalItem]: """ - Update the properties of an externalItem object. + Create a new externalItem object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalItem] - Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalitem-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-put-items?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -119,7 +119,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: ExternalItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of an externalItem object. + Create a new externalItem object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py b/msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py index 45f84256fc..f44d21b683 100644 --- a/msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py +++ b/msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py @@ -35,7 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Delete conversation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/group-delete-conversation?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/conversation-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -51,10 +51,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ConversationItemRequestBuilderGetQueryParameters]] = None) -> Optional[Conversation]: """ - Retrieve the properties and relationships of conversation object. + The group's conversations. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Conversation] - Find more info here: https://learn.microsoft.com/graph/api/conversation-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/group-get-conversation?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -83,7 +83,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ConversationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of conversation object. + The group's conversations. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ class ConversationItemRequestBuilderDeleteRequestConfiguration(RequestConfigurat @dataclass class ConversationItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of conversation object. + The group's conversations. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py b/msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py index b8813e2685..08e79a6f1a 100644 --- a/msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py +++ b/msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py @@ -36,7 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Delete conversationThread. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/conversationthread-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/group-delete-thread?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -52,10 +52,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ConversationThreadItemRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationThread]: """ - Get a thread object. + Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationThread] - Find more info here: https://learn.microsoft.com/graph/api/group-get-thread?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/conversationthread-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ConversationThreadItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get a thread object. + Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -170,7 +170,7 @@ class ConversationThreadItemRequestBuilderDeleteRequestConfiguration(RequestConf @dataclass class ConversationThreadItemRequestBuilderGetQueryParameters(): """ - Get a thread object. + Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py b/msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py index 53417c96e5..ec2fa4e99a 100644 --- a/msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py +++ b/msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py @@ -47,10 +47,10 @@ def by_post_id(self,post_id: str) -> PostItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[PostsRequestBuilderGetQueryParameters]] = None) -> Optional[PostCollectionResponse]: """ - Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. + Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PostCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PostsReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[PostsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. + Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -99,7 +99,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PostsRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. + Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py b/msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py index d558e009d3..0a4f9c91f5 100644 --- a/msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +++ b/msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py @@ -31,10 +31,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete an ipNamedLocation object. + Delete a countryNamedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/ipnamedlocation-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/countrynamedlocation-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[NamedLocationItemRequestBuilderGetQueryParameters]] = None) -> Optional[NamedLocation]: """ - Retrieve the properties and relationships of a namedLocation object. + Retrieve the properties and relationships of an ipNamedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[NamedLocation] - Find more info here: https://learn.microsoft.com/graph/api/namedlocation-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/ipnamedlocation-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -95,7 +95,7 @@ async def patch(self,body: NamedLocation, request_configuration: Optional[Reques def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete an ipNamedLocation object. + Delete a countryNamedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[NamedLocationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a namedLocation object. + Retrieve the properties and relationships of an ipNamedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -150,7 +150,7 @@ class NamedLocationItemRequestBuilderDeleteRequestConfiguration(RequestConfigura @dataclass class NamedLocationItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a namedLocation object. + Retrieve the properties and relationships of an ipNamedLocation object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py index 6b00d932b9..53b7d2e8e9 100644 --- a/msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py @@ -31,10 +31,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: + Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[CustomCalloutExtensionItemRequestBuilderGetQueryParameters]] = None) -> Optional[CustomCalloutExtension]: """ - Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomCalloutExtension] - Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -95,7 +95,7 @@ async def patch(self,body: CustomCalloutExtension, request_configuration: Option def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: + Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CustomCalloutExtensionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -150,7 +150,7 @@ class CustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration(Request @dataclass class CustomCalloutExtensionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/kiota-dom-export.txt b/msgraph/generated/kiota-dom-export.txt index 4faed59bb3..4fbb424238 100644 --- a/msgraph/generated/kiota-dom-export.txt +++ b/msgraph/generated/kiota-dom-export.txt @@ -26447,6 +26447,15 @@ msgraph.generated.drives.item.items.item.deltaWithToken.DeltaWithTokenRequestBui msgraph.generated.drives.item.items.item.deltaWithToken.DeltaWithTokenRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[DeltaWithTokenRequestBuilderGetQueryParameters]):RequestInformation msgraph.generated.drives.item.items.item.deltaWithToken.DeltaWithTokenRequestBuilder::|public|url_template:str msgraph.generated.drives.item.items.item.deltaWithToken.DeltaWithTokenRequestBuilder::|public|with_url(raw_url:str):DeltaWithTokenRequestBuilder +msgraph.generated.drives.item.items.item.discardCheckout.DiscardCheckoutRequestBuilder-->BaseRequestBuilder +msgraph.generated.drives.item.items.item.discardCheckout.DiscardCheckoutRequestBuilder.DiscardCheckoutRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.drives.item.items.item.discardCheckout.DiscardCheckoutRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.drives.item.items.item.discardCheckout.DiscardCheckoutRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.drives.item.items.item.discardCheckout.DiscardCheckoutRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph.generated.drives.item.items.item.discardCheckout.DiscardCheckoutRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.drives.item.items.item.discardCheckout.DiscardCheckoutRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.drives.item.items.item.discardCheckout.DiscardCheckoutRequestBuilder::|public|url_template:str +msgraph.generated.drives.item.items.item.discardCheckout.DiscardCheckoutRequestBuilder::|public|with_url(raw_url:str):DiscardCheckoutRequestBuilder msgraph.generated.drives.item.items.item.DriveItemItemRequestBuilder-->BaseRequestBuilder msgraph.generated.drives.item.items.item.DriveItemItemRequestBuilder.DriveItemItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph.generated.drives.item.items.item.DriveItemItemRequestBuilder.DriveItemItemRequestBuilderGetQueryParameters::|public|expand:List[str] @@ -26468,6 +26477,7 @@ msgraph.generated.drives.item.items.item.DriveItemItemRequestBuilder::|public|cr msgraph.generated.drives.item.items.item.DriveItemItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None msgraph.generated.drives.item.items.item.DriveItemItemRequestBuilder::|public|delta:DeltaRequestBuilder msgraph.generated.drives.item.items.item.DriveItemItemRequestBuilder::|public|delta_with_token(token:str):DeltaWithTokenRequestBuilder +msgraph.generated.drives.item.items.item.DriveItemItemRequestBuilder::|public|discard_checkout:DiscardCheckoutRequestBuilder msgraph.generated.drives.item.items.item.DriveItemItemRequestBuilder::|public|extract_sensitivity_labels:ExtractSensitivityLabelsRequestBuilder msgraph.generated.drives.item.items.item.DriveItemItemRequestBuilder::|public|follow:FollowRequestBuilder msgraph.generated.drives.item.items.item.DriveItemItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[DriveItemItemRequestBuilderGetQueryParameters]):DriveItem @@ -105808,6 +105818,11 @@ msgraph.generated.models.EducationWordResource::|public|get_field_deserializers( msgraph.generated.models.EducationWordResource::|public|odata_type:str msgraph.generated.models.EducationWordResource::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.EducationWordResource::|static|public|create_from_discriminator_value(parse_node:ParseNode):EducationWordResource +msgraph.generated.models.EligibilityFilteringEnabledEntities::0000-None_ +msgraph.generated.models.EligibilityFilteringEnabledEntities::0001-SwapRequest +msgraph.generated.models.EligibilityFilteringEnabledEntities::0002-OfferShiftRequest +msgraph.generated.models.EligibilityFilteringEnabledEntities::0003-UnknownFutureValue +msgraph.generated.models.EligibilityFilteringEnabledEntities::0004-TimeOffReason msgraph.generated.models.EmailAddress::|public|additional_data():Dict[str, Any] msgraph.generated.models.EmailAddress::|public|additional_data(value:Dict[str, Any]):None msgraph.generated.models.EmailAddress::|public|address():str @@ -107256,6 +107271,8 @@ msgraph.generated.models.FileStorage-->Entity msgraph.generated.models.FileStorage::|public|constructor():None msgraph.generated.models.FileStorage::|public|containers():List[FileStorageContainer] msgraph.generated.models.FileStorage::|public|containers(value:List[FileStorageContainer]):None +msgraph.generated.models.FileStorage::|public|deleted_containers():List[FileStorageContainer] +msgraph.generated.models.FileStorage::|public|deleted_containers(value:List[FileStorageContainer]):None msgraph.generated.models.FileStorage::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph.generated.models.FileStorage::|public|odata_type:str msgraph.generated.models.FileStorage::|public|serialize(writer:SerializationWriter):None @@ -107275,9 +107292,13 @@ msgraph.generated.models.FileStorageContainer::|public|display_name(value:str):N msgraph.generated.models.FileStorageContainer::|public|drive():Drive msgraph.generated.models.FileStorageContainer::|public|drive(value:Drive):None msgraph.generated.models.FileStorageContainer::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.FileStorageContainer::|public|lock_state():SiteLockState +msgraph.generated.models.FileStorageContainer::|public|lock_state(value:SiteLockState):None msgraph.generated.models.FileStorageContainer::|public|odata_type:str msgraph.generated.models.FileStorageContainer::|public|permissions():List[Permission] msgraph.generated.models.FileStorageContainer::|public|permissions(value:List[Permission]):None +msgraph.generated.models.FileStorageContainer::|public|recycle_bin():RecycleBin +msgraph.generated.models.FileStorageContainer::|public|recycle_bin(value:RecycleBin):None msgraph.generated.models.FileStorageContainer::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.FileStorageContainer::|public|settings():FileStorageContainerSettings msgraph.generated.models.FileStorageContainer::|public|settings(value:FileStorageContainerSettings):None @@ -109251,6 +109272,8 @@ msgraph.generated.models.InternalDomainFederation::|public|is_signed_authenticat msgraph.generated.models.InternalDomainFederation::|public|next_signing_certificate():str msgraph.generated.models.InternalDomainFederation::|public|next_signing_certificate(value:str):None msgraph.generated.models.InternalDomainFederation::|public|odata_type:str +msgraph.generated.models.InternalDomainFederation::|public|password_reset_uri():str +msgraph.generated.models.InternalDomainFederation::|public|password_reset_uri(value:str):None msgraph.generated.models.InternalDomainFederation::|public|prompt_login_behavior():PromptLoginBehavior msgraph.generated.models.InternalDomainFederation::|public|prompt_login_behavior(value:PromptLoginBehavior):None msgraph.generated.models.InternalDomainFederation::|public|serialize(writer:SerializationWriter):None @@ -115011,6 +115034,8 @@ msgraph.generated.models.OpenShift::|public|constructor():None msgraph.generated.models.OpenShift::|public|draft_open_shift():OpenShiftItem msgraph.generated.models.OpenShift::|public|draft_open_shift(value:OpenShiftItem):None msgraph.generated.models.OpenShift::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.OpenShift::|public|is_staged_for_deletion():bool +msgraph.generated.models.OpenShift::|public|is_staged_for_deletion(value:bool):None msgraph.generated.models.OpenShift::|public|odata_type:str msgraph.generated.models.OpenShift::|public|scheduling_group_id():str msgraph.generated.models.OpenShift::|public|scheduling_group_id(value:str):None @@ -119712,6 +119737,47 @@ msgraph.generated.models.RecurrenceRangeType::0000-EndDate msgraph.generated.models.RecurrenceRangeType::0001-NoEnd msgraph.generated.models.RecurrenceRangeType::0002-Numbered msgraph.generated.models.RecurrenceRange~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.models.RecycleBin-->BaseItem +msgraph.generated.models.RecycleBin::|public|constructor():None +msgraph.generated.models.RecycleBin::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.RecycleBin::|public|items():List[RecycleBinItem] +msgraph.generated.models.RecycleBin::|public|items(value:List[RecycleBinItem]):None +msgraph.generated.models.RecycleBin::|public|odata_type:str +msgraph.generated.models.RecycleBin::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.RecycleBin::|public|settings():RecycleBinSettings +msgraph.generated.models.RecycleBin::|public|settings(value:RecycleBinSettings):None +msgraph.generated.models.RecycleBin::|static|public|create_from_discriminator_value(parse_node:ParseNode):RecycleBin +msgraph.generated.models.RecycleBinItem-->BaseItem +msgraph.generated.models.RecycleBinItem::|public|constructor():None +msgraph.generated.models.RecycleBinItem::|public|deleted_date_time():datetime.datetime +msgraph.generated.models.RecycleBinItem::|public|deleted_date_time(value:datetime.datetime):None +msgraph.generated.models.RecycleBinItem::|public|deleted_from_location():str +msgraph.generated.models.RecycleBinItem::|public|deleted_from_location(value:str):None +msgraph.generated.models.RecycleBinItem::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.RecycleBinItem::|public|odata_type:str +msgraph.generated.models.RecycleBinItem::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.RecycleBinItem::|public|size():int +msgraph.generated.models.RecycleBinItem::|public|size(value:int):None +msgraph.generated.models.RecycleBinItem::|static|public|create_from_discriminator_value(parse_node:ParseNode):RecycleBinItem +msgraph.generated.models.RecycleBinItemCollectionResponse-->BaseCollectionPaginationCountResponse +msgraph.generated.models.RecycleBinItemCollectionResponse::|public|constructor():None +msgraph.generated.models.RecycleBinItemCollectionResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.RecycleBinItemCollectionResponse::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.RecycleBinItemCollectionResponse::|public|value():List[RecycleBinItem] +msgraph.generated.models.RecycleBinItemCollectionResponse::|public|value(value:List[RecycleBinItem]):None +msgraph.generated.models.RecycleBinItemCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):RecycleBinItemCollectionResponse +msgraph.generated.models.RecycleBinSettings::|public|additional_data():Dict[str, Any] +msgraph.generated.models.RecycleBinSettings::|public|additional_data(value:Dict[str, Any]):None +msgraph.generated.models.RecycleBinSettings::|public|backing_store:BackingStore +msgraph.generated.models.RecycleBinSettings::|public|constructor():None +msgraph.generated.models.RecycleBinSettings::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.RecycleBinSettings::|public|odata_type():str +msgraph.generated.models.RecycleBinSettings::|public|odata_type(value:str):None +msgraph.generated.models.RecycleBinSettings::|public|retention_period_override_days():int +msgraph.generated.models.RecycleBinSettings::|public|retention_period_override_days(value:int):None +msgraph.generated.models.RecycleBinSettings::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.RecycleBinSettings::|static|public|create_from_discriminator_value(parse_node:ParseNode):RecycleBinSettings +msgraph.generated.models.RecycleBinSettings~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.RedirectUriSettings::|public|additional_data():Dict[str, Any] msgraph.generated.models.RedirectUriSettings::|public|additional_data(value:Dict[str, Any]):None msgraph.generated.models.RedirectUriSettings::|public|backing_store:BackingStore @@ -126380,6 +126446,8 @@ msgraph.generated.models.Shift::|public|constructor():None msgraph.generated.models.Shift::|public|draft_shift():ShiftItem msgraph.generated.models.Shift::|public|draft_shift(value:ShiftItem):None msgraph.generated.models.Shift::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.Shift::|public|is_staged_for_deletion():bool +msgraph.generated.models.Shift::|public|is_staged_for_deletion(value:bool):None msgraph.generated.models.Shift::|public|odata_type:str msgraph.generated.models.Shift::|public|scheduling_group_id():str msgraph.generated.models.Shift::|public|scheduling_group_id(value:str):None @@ -126951,6 +127019,11 @@ msgraph.generated.models.SiteCollectionResponse::|public|value():List[Site] msgraph.generated.models.SiteCollectionResponse::|public|value(value:List[Site]):None msgraph.generated.models.SiteCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):SiteCollectionResponse msgraph.generated.models.SiteCollection~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.models.SiteLockState::0000-Unlocked +msgraph.generated.models.SiteLockState::0001-LockedReadOnly +msgraph.generated.models.SiteLockState::0002-LockedNoAccess +msgraph.generated.models.SiteLockState::0003-LockedNoAdditions +msgraph.generated.models.SiteLockState::0004-UnknownFutureValue msgraph.generated.models.SitePage-->BaseSitePage msgraph.generated.models.SitePage::|public|canvas_layout():CanvasLayout msgraph.generated.models.SitePage::|public|canvas_layout(value:CanvasLayout):None @@ -129697,6 +129770,8 @@ msgraph.generated.models.TimeOff::|public|constructor():None msgraph.generated.models.TimeOff::|public|draft_time_off():TimeOffItem msgraph.generated.models.TimeOff::|public|draft_time_off(value:TimeOffItem):None msgraph.generated.models.TimeOff::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.TimeOff::|public|is_staged_for_deletion():bool +msgraph.generated.models.TimeOff::|public|is_staged_for_deletion(value:bool):None msgraph.generated.models.TimeOff::|public|odata_type:str msgraph.generated.models.TimeOff::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.TimeOff::|public|shared_time_off():TimeOffItem @@ -136338,6 +136413,8 @@ msgraph.generated.models.WorkforceIntegration::|public|api_version(value:int):No msgraph.generated.models.WorkforceIntegration::|public|constructor():None msgraph.generated.models.WorkforceIntegration::|public|display_name():str msgraph.generated.models.WorkforceIntegration::|public|display_name(value:str):None +msgraph.generated.models.WorkforceIntegration::|public|eligibility_filtering_enabled_entities():EligibilityFilteringEnabledEntities +msgraph.generated.models.WorkforceIntegration::|public|eligibility_filtering_enabled_entities(value:EligibilityFilteringEnabledEntities):None msgraph.generated.models.WorkforceIntegration::|public|encryption():WorkforceIntegrationEncryption msgraph.generated.models.WorkforceIntegration::|public|encryption(value:WorkforceIntegrationEncryption):None msgraph.generated.models.WorkforceIntegration::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] @@ -136381,6 +136458,9 @@ msgraph.generated.models.WorkforceIntegrationSupportedEntities::0004-OpenShift msgraph.generated.models.WorkforceIntegrationSupportedEntities::0005-OpenShiftRequest msgraph.generated.models.WorkforceIntegrationSupportedEntities::0006-OfferShiftRequest msgraph.generated.models.WorkforceIntegrationSupportedEntities::0007-UnknownFutureValue +msgraph.generated.models.WorkforceIntegrationSupportedEntities::0008-TimeOffReason +msgraph.generated.models.WorkforceIntegrationSupportedEntities::0009-TimeOff +msgraph.generated.models.WorkforceIntegrationSupportedEntities::0010-TimeOffRequest msgraph.generated.models.WorkingHours::|public|additional_data():Dict[str, Any] msgraph.generated.models.WorkingHours::|public|additional_data(value:Dict[str, Any]):None msgraph.generated.models.WorkingHours::|public|backing_store:BackingStore @@ -136414,6 +136494,8 @@ msgraph.generated.models.X509CertificateAuthenticationMethodConfiguration::|publ msgraph.generated.models.X509CertificateAuthenticationMethodConfiguration::|public|certificate_user_bindings():List[X509CertificateUserBinding] msgraph.generated.models.X509CertificateAuthenticationMethodConfiguration::|public|certificate_user_bindings(value:List[X509CertificateUserBinding]):None msgraph.generated.models.X509CertificateAuthenticationMethodConfiguration::|public|constructor():None +msgraph.generated.models.X509CertificateAuthenticationMethodConfiguration::|public|crl_validation_configuration():X509CertificateCRLValidationConfiguration +msgraph.generated.models.X509CertificateAuthenticationMethodConfiguration::|public|crl_validation_configuration(value:X509CertificateCRLValidationConfiguration):None msgraph.generated.models.X509CertificateAuthenticationMethodConfiguration::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] msgraph.generated.models.X509CertificateAuthenticationMethodConfiguration::|public|include_targets():List[AuthenticationMethodTarget] msgraph.generated.models.X509CertificateAuthenticationMethodConfiguration::|public|include_targets(value:List[AuthenticationMethodTarget]):None @@ -136449,6 +136531,23 @@ msgraph.generated.models.X509CertificateCombinationConfiguration::|public|get_fi msgraph.generated.models.X509CertificateCombinationConfiguration::|public|odata_type:str msgraph.generated.models.X509CertificateCombinationConfiguration::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.X509CertificateCombinationConfiguration::|static|public|create_from_discriminator_value(parse_node:ParseNode):X509CertificateCombinationConfiguration +msgraph.generated.models.X509CertificateCRLValidationConfiguration::|public|additional_data():Dict[str, Any] +msgraph.generated.models.X509CertificateCRLValidationConfiguration::|public|additional_data(value:Dict[str, Any]):None +msgraph.generated.models.X509CertificateCRLValidationConfiguration::|public|backing_store:BackingStore +msgraph.generated.models.X509CertificateCRLValidationConfiguration::|public|constructor():None +msgraph.generated.models.X509CertificateCRLValidationConfiguration::|public|exempted_certificate_authorities_subject_key_identifiers():List[str] +msgraph.generated.models.X509CertificateCRLValidationConfiguration::|public|exempted_certificate_authorities_subject_key_identifiers(value:List[str]):None +msgraph.generated.models.X509CertificateCRLValidationConfiguration::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.X509CertificateCRLValidationConfiguration::|public|odata_type():str +msgraph.generated.models.X509CertificateCRLValidationConfiguration::|public|odata_type(value:str):None +msgraph.generated.models.X509CertificateCRLValidationConfiguration::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.X509CertificateCRLValidationConfiguration::|public|state():X509CertificateCRLValidationConfigurationState +msgraph.generated.models.X509CertificateCRLValidationConfiguration::|public|state(value:X509CertificateCRLValidationConfigurationState):None +msgraph.generated.models.X509CertificateCRLValidationConfiguration::|static|public|create_from_discriminator_value(parse_node:ParseNode):X509CertificateCRLValidationConfiguration +msgraph.generated.models.X509CertificateCRLValidationConfigurationState::0000-Disabled +msgraph.generated.models.X509CertificateCRLValidationConfigurationState::0001-Enabled +msgraph.generated.models.X509CertificateCRLValidationConfigurationState::0002-UnknownFutureValue +msgraph.generated.models.X509CertificateCRLValidationConfiguration~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.X509CertificateRule::|public|additional_data():Dict[str, Any] msgraph.generated.models.X509CertificateRule::|public|additional_data(value:Dict[str, Any]):None msgraph.generated.models.X509CertificateRule::|public|backing_store:BackingStore @@ -170540,16 +170639,39 @@ msgraph.generated.storage.fileStorage.containers.item.FileStorageContainerItemRe msgraph.generated.storage.fileStorage.containers.item.FileStorageContainerItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None msgraph.generated.storage.fileStorage.containers.item.FileStorageContainerItemRequestBuilder::|public|drive:DriveRequestBuilder msgraph.generated.storage.fileStorage.containers.item.FileStorageContainerItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[FileStorageContainerItemRequestBuilderGetQueryParameters]):FileStorageContainer +msgraph.generated.storage.fileStorage.containers.item.FileStorageContainerItemRequestBuilder::|public|lock:LockRequestBuilder msgraph.generated.storage.fileStorage.containers.item.FileStorageContainerItemRequestBuilder::|public|patch(body:FileStorageContainer; request_configuration?:RequestConfiguration[QueryParameters]):FileStorageContainer msgraph.generated.storage.fileStorage.containers.item.FileStorageContainerItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] msgraph.generated.storage.fileStorage.containers.item.FileStorageContainerItemRequestBuilder::|public|permanent_delete:PermanentDeleteRequestBuilder msgraph.generated.storage.fileStorage.containers.item.FileStorageContainerItemRequestBuilder::|public|permissions:PermissionsRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.FileStorageContainerItemRequestBuilder::|public|recycle_bin:RecycleBinRequestBuilder msgraph.generated.storage.fileStorage.containers.item.FileStorageContainerItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.containers.item.FileStorageContainerItemRequestBuilder::|public|restore:RestoreRequestBuilder msgraph.generated.storage.fileStorage.containers.item.FileStorageContainerItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph.generated.storage.fileStorage.containers.item.FileStorageContainerItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[FileStorageContainerItemRequestBuilderGetQueryParameters]):RequestInformation msgraph.generated.storage.fileStorage.containers.item.FileStorageContainerItemRequestBuilder::|public|to_patch_request_information(body:FileStorageContainer; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.FileStorageContainerItemRequestBuilder::|public|unlock:UnlockRequestBuilder msgraph.generated.storage.fileStorage.containers.item.FileStorageContainerItemRequestBuilder::|public|url_template:str msgraph.generated.storage.fileStorage.containers.item.FileStorageContainerItemRequestBuilder::|public|with_url(raw_url:str):FileStorageContainerItemRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.lock.LockPostRequestBody::|public|additional_data():Dict[str, Any] +msgraph.generated.storage.fileStorage.containers.item.lock.LockPostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph.generated.storage.fileStorage.containers.item.lock.LockPostRequestBody::|public|backing_store:BackingStore +msgraph.generated.storage.fileStorage.containers.item.lock.LockPostRequestBody::|public|constructor():None +msgraph.generated.storage.fileStorage.containers.item.lock.LockPostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.storage.fileStorage.containers.item.lock.LockPostRequestBody::|public|lock_state():SiteLockState +msgraph.generated.storage.fileStorage.containers.item.lock.LockPostRequestBody::|public|lock_state(value:SiteLockState):None +msgraph.generated.storage.fileStorage.containers.item.lock.LockPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph.generated.storage.fileStorage.containers.item.lock.LockPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):LockPostRequestBody +msgraph.generated.storage.fileStorage.containers.item.lock.LockPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.storage.fileStorage.containers.item.lock.LockRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.lock.LockRequestBuilder.LockRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.containers.item.lock.LockRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.containers.item.lock.LockRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.containers.item.lock.LockRequestBuilder::|public|post(body:LockPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph.generated.storage.fileStorage.containers.item.lock.LockRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.containers.item.lock.LockRequestBuilder::|public|to_post_request_information(body:LockPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.lock.LockRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.containers.item.lock.LockRequestBuilder::|public|with_url(raw_url:str):LockRequestBuilder msgraph.generated.storage.fileStorage.containers.item.permanentDelete.PermanentDeleteRequestBuilder-->BaseRequestBuilder msgraph.generated.storage.fileStorage.containers.item.permanentDelete.PermanentDeleteRequestBuilder.PermanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph.generated.storage.fileStorage.containers.item.permanentDelete.PermanentDeleteRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None @@ -170641,6 +170763,866 @@ msgraph.generated.storage.fileStorage.containers.item.permissions.PermissionsReq msgraph.generated.storage.fileStorage.containers.item.permissions.PermissionsRequestBuilder::|public|to_post_request_information(body:Permission; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph.generated.storage.fileStorage.containers.item.permissions.PermissionsRequestBuilder::|public|url_template:str msgraph.generated.storage.fileStorage.containers.item.permissions.PermissionsRequestBuilder::|public|with_url(raw_url:str):PermissionsRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.CreatedByUserRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.CreatedByUserRequestBuilder.CreatedByUserRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.CreatedByUserRequestBuilder.CreatedByUserRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.CreatedByUserRequestBuilder.CreatedByUserRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.CreatedByUserRequestBuilder.CreatedByUserRequestBuilderGetRequestConfiguration-->RequestConfiguration[CreatedByUserRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.CreatedByUserRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.CreatedByUserRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CreatedByUserRequestBuilderGetQueryParameters]):User +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.CreatedByUserRequestBuilder::|public|mailbox_settings:MailboxSettingsRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.CreatedByUserRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.CreatedByUserRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.CreatedByUserRequestBuilder::|public|service_provisioning_errors:ServiceProvisioningErrorsRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.CreatedByUserRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CreatedByUserRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.CreatedByUserRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.CreatedByUserRequestBuilder::|public|with_url(raw_url:str):CreatedByUserRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]):MailboxSettings +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|patch(body:MailboxSettings; request_configuration?:RequestConfiguration[QueryParameters]):MailboxSettings +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|to_patch_request_information(body:MailboxSettings; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|with_url(raw_url:str):MailboxSettingsRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|count:bool +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|skip:int +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|top:int +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|count:CountRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]):ServiceProvisioningErrorCollectionResponse +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|with_url(raw_url:str):ServiceProvisioningErrorsRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.count.CountRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.count.CountRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder.CreatedByUserRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder.CreatedByUserRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder.CreatedByUserRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder.CreatedByUserRequestBuilderGetRequestConfiguration-->RequestConfiguration[CreatedByUserRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CreatedByUserRequestBuilderGetQueryParameters]):User +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder::|public|mailbox_settings:MailboxSettingsRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder::|public|service_provisioning_errors:ServiceProvisioningErrorsRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CreatedByUserRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder::|public|with_url(raw_url:str):CreatedByUserRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]):MailboxSettings +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|patch(body:MailboxSettings; request_configuration?:RequestConfiguration[QueryParameters]):MailboxSettings +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|to_patch_request_information(body:MailboxSettings; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|with_url(raw_url:str):MailboxSettingsRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|count:bool +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|skip:int +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|top:int +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|count:CountRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]):ServiceProvisioningErrorCollectionResponse +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|with_url(raw_url:str):ServiceProvisioningErrorsRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.LastModifiedByUserRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.LastModifiedByUserRequestBuilder.LastModifiedByUserRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.LastModifiedByUserRequestBuilder.LastModifiedByUserRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.LastModifiedByUserRequestBuilder.LastModifiedByUserRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.LastModifiedByUserRequestBuilder.LastModifiedByUserRequestBuilderGetRequestConfiguration-->RequestConfiguration[LastModifiedByUserRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|get(request_configuration?:RequestConfiguration[LastModifiedByUserRequestBuilderGetQueryParameters]):User +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|mailbox_settings:MailboxSettingsRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|service_provisioning_errors:ServiceProvisioningErrorsRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[LastModifiedByUserRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|with_url(raw_url:str):LastModifiedByUserRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]):MailboxSettings +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|patch(body:MailboxSettings; request_configuration?:RequestConfiguration[QueryParameters]):MailboxSettings +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|to_patch_request_information(body:MailboxSettings; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|with_url(raw_url:str):MailboxSettingsRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|count:bool +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|skip:int +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|top:int +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|count:CountRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]):ServiceProvisioningErrorCollectionResponse +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|with_url(raw_url:str):ServiceProvisioningErrorsRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder.RecycleBinItemItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder.RecycleBinItemItemRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder.RecycleBinItemItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder.RecycleBinItemItemRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder.RecycleBinItemItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[RecycleBinItemItemRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder.RecycleBinItemItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder::|public|created_by_user:CreatedByUserRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[RecycleBinItemItemRequestBuilderGetQueryParameters]):RecycleBinItem +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder::|public|last_modified_by_user:LastModifiedByUserRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder::|public|patch(body:RecycleBinItem; request_configuration?:RequestConfiguration[QueryParameters]):RecycleBinItem +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[RecycleBinItemItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder::|public|to_patch_request_information(body:RecycleBinItem; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder::|public|with_url(raw_url:str):RecycleBinItemItemRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder.ItemsRequestBuilderGetQueryParameters::|public|count:bool +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder.ItemsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder.ItemsRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder.ItemsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder.ItemsRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder.ItemsRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder.ItemsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder.ItemsRequestBuilderGetQueryParameters::|public|skip:int +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder.ItemsRequestBuilderGetQueryParameters::|public|top:int +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder.ItemsRequestBuilderGetRequestConfiguration-->RequestConfiguration[ItemsRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder.ItemsRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder::|public|by_recycle_bin_item_id(recycle_bin_item_id:str):RecycleBinItemItemRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder::|public|count:CountRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ItemsRequestBuilderGetQueryParameters]):RecycleBinItemCollectionResponse +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder::|public|post(body:RecycleBinItem; request_configuration?:RequestConfiguration[QueryParameters]):RecycleBinItem +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ItemsRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder::|public|to_post_request_information(body:RecycleBinItem; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder::|public|with_url(raw_url:str):ItemsRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder.LastModifiedByUserRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder.LastModifiedByUserRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder.LastModifiedByUserRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder.LastModifiedByUserRequestBuilderGetRequestConfiguration-->RequestConfiguration[LastModifiedByUserRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|get(request_configuration?:RequestConfiguration[LastModifiedByUserRequestBuilderGetQueryParameters]):User +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|mailbox_settings:MailboxSettingsRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|service_provisioning_errors:ServiceProvisioningErrorsRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[LastModifiedByUserRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|with_url(raw_url:str):LastModifiedByUserRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]):MailboxSettings +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|patch(body:MailboxSettings; request_configuration?:RequestConfiguration[QueryParameters]):MailboxSettings +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|to_patch_request_information(body:MailboxSettings; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|with_url(raw_url:str):MailboxSettingsRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|count:bool +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|skip:int +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|top:int +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|count:CountRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]):ServiceProvisioningErrorCollectionResponse +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|with_url(raw_url:str):ServiceProvisioningErrorsRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.RecycleBinRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.RecycleBinRequestBuilder.RecycleBinRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.RecycleBinRequestBuilder.RecycleBinRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.RecycleBinRequestBuilder.RecycleBinRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.RecycleBinRequestBuilder.RecycleBinRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.RecycleBinRequestBuilder.RecycleBinRequestBuilderGetRequestConfiguration-->RequestConfiguration[RecycleBinRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.RecycleBinRequestBuilder.RecycleBinRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.RecycleBinRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.containers.item.recycleBin.RecycleBinRequestBuilder::|public|created_by_user:CreatedByUserRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.RecycleBinRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph.generated.storage.fileStorage.containers.item.recycleBin.RecycleBinRequestBuilder::|public|get(request_configuration?:RequestConfiguration[RecycleBinRequestBuilderGetQueryParameters]):RecycleBin +msgraph.generated.storage.fileStorage.containers.item.recycleBin.RecycleBinRequestBuilder::|public|items:ItemsRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.RecycleBinRequestBuilder::|public|last_modified_by_user:LastModifiedByUserRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.recycleBin.RecycleBinRequestBuilder::|public|patch(body:RecycleBin; request_configuration?:RequestConfiguration[QueryParameters]):RecycleBin +msgraph.generated.storage.fileStorage.containers.item.recycleBin.RecycleBinRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.containers.item.recycleBin.RecycleBinRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.containers.item.recycleBin.RecycleBinRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.RecycleBinRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[RecycleBinRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.RecycleBinRequestBuilder::|public|to_patch_request_information(body:RecycleBin; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.recycleBin.RecycleBinRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.containers.item.recycleBin.RecycleBinRequestBuilder::|public|with_url(raw_url:str):RecycleBinRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.restore.RestoreRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.restore.RestoreRequestBuilder.RestoreRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.containers.item.restore.RestoreRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.containers.item.restore.RestoreRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.containers.item.restore.RestoreRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):FileStorageContainer +msgraph.generated.storage.fileStorage.containers.item.restore.RestoreRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.containers.item.restore.RestoreRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.restore.RestoreRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.containers.item.restore.RestoreRequestBuilder::|public|with_url(raw_url:str):RestoreRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.unlock.UnlockRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.containers.item.unlock.UnlockRequestBuilder.UnlockRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.containers.item.unlock.UnlockRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.containers.item.unlock.UnlockRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.containers.item.unlock.UnlockRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph.generated.storage.fileStorage.containers.item.unlock.UnlockRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.containers.item.unlock.UnlockRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.containers.item.unlock.UnlockRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.containers.item.unlock.UnlockRequestBuilder::|public|with_url(raw_url:str):UnlockRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.count.CountRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.storage.fileStorage.deletedContainers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.deletedContainers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.storage.fileStorage.deletedContainers.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph.generated.storage.fileStorage.deletedContainers.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.count.CountRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.DeletedContainersRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.DeletedContainersRequestBuilder.DeletedContainersRequestBuilderGetQueryParameters::|public|count:bool +msgraph.generated.storage.fileStorage.deletedContainers.DeletedContainersRequestBuilder.DeletedContainersRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.DeletedContainersRequestBuilder.DeletedContainersRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.storage.fileStorage.deletedContainers.DeletedContainersRequestBuilder.DeletedContainersRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.deletedContainers.DeletedContainersRequestBuilder.DeletedContainersRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.DeletedContainersRequestBuilder.DeletedContainersRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.storage.fileStorage.deletedContainers.DeletedContainersRequestBuilder.DeletedContainersRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.DeletedContainersRequestBuilder.DeletedContainersRequestBuilderGetQueryParameters::|public|skip:int +msgraph.generated.storage.fileStorage.deletedContainers.DeletedContainersRequestBuilder.DeletedContainersRequestBuilderGetQueryParameters::|public|top:int +msgraph.generated.storage.fileStorage.deletedContainers.DeletedContainersRequestBuilder.DeletedContainersRequestBuilderGetRequestConfiguration-->RequestConfiguration[DeletedContainersRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.DeletedContainersRequestBuilder.DeletedContainersRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.DeletedContainersRequestBuilder::|public|by_file_storage_container_id(file_storage_container_id:str):FileStorageContainerItemRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.DeletedContainersRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.DeletedContainersRequestBuilder::|public|count:CountRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.DeletedContainersRequestBuilder::|public|get(request_configuration?:RequestConfiguration[DeletedContainersRequestBuilderGetQueryParameters]):FileStorageContainerCollectionResponse +msgraph.generated.storage.fileStorage.deletedContainers.DeletedContainersRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.DeletedContainersRequestBuilder::|public|post(body:FileStorageContainer; request_configuration?:RequestConfiguration[QueryParameters]):FileStorageContainer +msgraph.generated.storage.fileStorage.deletedContainers.DeletedContainersRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.DeletedContainersRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[DeletedContainersRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.DeletedContainersRequestBuilder::|public|to_post_request_information(body:FileStorageContainer; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.DeletedContainersRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.DeletedContainersRequestBuilder::|public|with_url(raw_url:str):DeletedContainersRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.activate.ActivateRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.activate.ActivateRequestBuilder.ActivateRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.activate.ActivateRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.activate.ActivateRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.activate.ActivateRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph.generated.storage.fileStorage.deletedContainers.item.activate.ActivateRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.activate.ActivateRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.activate.ActivateRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.activate.ActivateRequestBuilder::|public|with_url(raw_url:str):ActivateRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.drive.DriveRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.drive.DriveRequestBuilder.DriveRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.drive.DriveRequestBuilder.DriveRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.deletedContainers.item.drive.DriveRequestBuilder.DriveRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.drive.DriveRequestBuilder.DriveRequestBuilderGetRequestConfiguration-->RequestConfiguration[DriveRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.drive.DriveRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.drive.DriveRequestBuilder::|public|get(request_configuration?:RequestConfiguration[DriveRequestBuilderGetQueryParameters]):Drive +msgraph.generated.storage.fileStorage.deletedContainers.item.drive.DriveRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.drive.DriveRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.drive.DriveRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[DriveRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.drive.DriveRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.drive.DriveRequestBuilder::|public|with_url(raw_url:str):DriveRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.FileStorageContainerItemRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.FileStorageContainerItemRequestBuilder.FileStorageContainerItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.FileStorageContainerItemRequestBuilder.FileStorageContainerItemRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.FileStorageContainerItemRequestBuilder.FileStorageContainerItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.deletedContainers.item.FileStorageContainerItemRequestBuilder.FileStorageContainerItemRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.FileStorageContainerItemRequestBuilder.FileStorageContainerItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[FileStorageContainerItemRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.FileStorageContainerItemRequestBuilder.FileStorageContainerItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.FileStorageContainerItemRequestBuilder::|public|activate:ActivateRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.FileStorageContainerItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.FileStorageContainerItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph.generated.storage.fileStorage.deletedContainers.item.FileStorageContainerItemRequestBuilder::|public|drive:DriveRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.FileStorageContainerItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[FileStorageContainerItemRequestBuilderGetQueryParameters]):FileStorageContainer +msgraph.generated.storage.fileStorage.deletedContainers.item.FileStorageContainerItemRequestBuilder::|public|lock:LockRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.FileStorageContainerItemRequestBuilder::|public|patch(body:FileStorageContainer; request_configuration?:RequestConfiguration[QueryParameters]):FileStorageContainer +msgraph.generated.storage.fileStorage.deletedContainers.item.FileStorageContainerItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.FileStorageContainerItemRequestBuilder::|public|permanent_delete:PermanentDeleteRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.FileStorageContainerItemRequestBuilder::|public|permissions:PermissionsRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.FileStorageContainerItemRequestBuilder::|public|recycle_bin:RecycleBinRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.FileStorageContainerItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.FileStorageContainerItemRequestBuilder::|public|restore:RestoreRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.FileStorageContainerItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.FileStorageContainerItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[FileStorageContainerItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.FileStorageContainerItemRequestBuilder::|public|to_patch_request_information(body:FileStorageContainer; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.FileStorageContainerItemRequestBuilder::|public|unlock:UnlockRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.FileStorageContainerItemRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.FileStorageContainerItemRequestBuilder::|public|with_url(raw_url:str):FileStorageContainerItemRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.lock.LockPostRequestBody::|public|additional_data():Dict[str, Any] +msgraph.generated.storage.fileStorage.deletedContainers.item.lock.LockPostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph.generated.storage.fileStorage.deletedContainers.item.lock.LockPostRequestBody::|public|backing_store:BackingStore +msgraph.generated.storage.fileStorage.deletedContainers.item.lock.LockPostRequestBody::|public|constructor():None +msgraph.generated.storage.fileStorage.deletedContainers.item.lock.LockPostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.storage.fileStorage.deletedContainers.item.lock.LockPostRequestBody::|public|lock_state():SiteLockState +msgraph.generated.storage.fileStorage.deletedContainers.item.lock.LockPostRequestBody::|public|lock_state(value:SiteLockState):None +msgraph.generated.storage.fileStorage.deletedContainers.item.lock.LockPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.lock.LockPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):LockPostRequestBody +msgraph.generated.storage.fileStorage.deletedContainers.item.lock.LockPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.storage.fileStorage.deletedContainers.item.lock.LockRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.lock.LockRequestBuilder.LockRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.lock.LockRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.lock.LockRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.lock.LockRequestBuilder::|public|post(body:LockPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph.generated.storage.fileStorage.deletedContainers.item.lock.LockRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.lock.LockRequestBuilder::|public|to_post_request_information(body:LockPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.lock.LockRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.lock.LockRequestBuilder::|public|with_url(raw_url:str):LockRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.permanentDelete.PermanentDeleteRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.permanentDelete.PermanentDeleteRequestBuilder.PermanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.permanentDelete.PermanentDeleteRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.permanentDelete.PermanentDeleteRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.permanentDelete.PermanentDeleteRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph.generated.storage.fileStorage.deletedContainers.item.permanentDelete.PermanentDeleteRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.permanentDelete.PermanentDeleteRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.permanentDelete.PermanentDeleteRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.permanentDelete.PermanentDeleteRequestBuilder::|public|with_url(raw_url:str):PermanentDeleteRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.count.CountRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.count.CountRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.grant.GrantPostRequestBody::|public|additional_data():Dict[str, Any] +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.grant.GrantPostRequestBody::|public|additional_data(value:Dict[str, Any]):None +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.grant.GrantPostRequestBody::|public|backing_store:BackingStore +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.grant.GrantPostRequestBody::|public|constructor():None +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.grant.GrantPostRequestBody::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.grant.GrantPostRequestBody::|public|recipients():List[DriveRecipient] +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.grant.GrantPostRequestBody::|public|recipients(value:List[DriveRecipient]):None +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.grant.GrantPostRequestBody::|public|roles():List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.grant.GrantPostRequestBody::|public|roles(value:List[str]):None +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.grant.GrantPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.grant.GrantPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):GrantPostRequestBody +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.grant.GrantPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.grant.GrantPostResponse-->BaseCollectionPaginationCountResponse +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.grant.GrantPostResponse::|public|constructor():None +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.grant.GrantPostResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.grant.GrantPostResponse::|public|serialize(writer:SerializationWriter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.grant.GrantPostResponse::|public|value():List[Permission] +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.grant.GrantPostResponse::|public|value(value:List[Permission]):None +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.grant.GrantPostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):GrantPostResponse +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.grant.GrantRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.grant.GrantRequestBuilder.GrantRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.grant.GrantRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.grant.GrantRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.grant.GrantRequestBuilder::|public|post(body:GrantPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):GrantPostResponse +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.grant.GrantRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.grant.GrantRequestBuilder::|public|to_post_request_information(body:GrantPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.grant.GrantRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.grant.GrantRequestBuilder::|public|with_url(raw_url:str):GrantRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.PermissionItemRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.PermissionItemRequestBuilder.PermissionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.PermissionItemRequestBuilder.PermissionItemRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.PermissionItemRequestBuilder.PermissionItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.PermissionItemRequestBuilder.PermissionItemRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.PermissionItemRequestBuilder.PermissionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[PermissionItemRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.PermissionItemRequestBuilder.PermissionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.PermissionItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.PermissionItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.PermissionItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[PermissionItemRequestBuilderGetQueryParameters]):Permission +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.PermissionItemRequestBuilder::|public|grant:GrantRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.PermissionItemRequestBuilder::|public|patch(body:Permission; request_configuration?:RequestConfiguration[QueryParameters]):Permission +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.PermissionItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.PermissionItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.PermissionItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.PermissionItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[PermissionItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.PermissionItemRequestBuilder::|public|to_patch_request_information(body:Permission; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.PermissionItemRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.item.PermissionItemRequestBuilder::|public|with_url(raw_url:str):PermissionItemRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.PermissionsRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.PermissionsRequestBuilder.PermissionsRequestBuilderGetQueryParameters::|public|count:bool +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.PermissionsRequestBuilder.PermissionsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.PermissionsRequestBuilder.PermissionsRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.PermissionsRequestBuilder.PermissionsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.PermissionsRequestBuilder.PermissionsRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.PermissionsRequestBuilder.PermissionsRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.PermissionsRequestBuilder.PermissionsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.PermissionsRequestBuilder.PermissionsRequestBuilderGetQueryParameters::|public|skip:int +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.PermissionsRequestBuilder.PermissionsRequestBuilderGetQueryParameters::|public|top:int +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.PermissionsRequestBuilder.PermissionsRequestBuilderGetRequestConfiguration-->RequestConfiguration[PermissionsRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.PermissionsRequestBuilder.PermissionsRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.PermissionsRequestBuilder::|public|by_permission_id(permission_id:str):PermissionItemRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.PermissionsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.PermissionsRequestBuilder::|public|count:CountRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.PermissionsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[PermissionsRequestBuilderGetQueryParameters]):PermissionCollectionResponse +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.PermissionsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.PermissionsRequestBuilder::|public|post(body:Permission; request_configuration?:RequestConfiguration[QueryParameters]):Permission +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.PermissionsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.PermissionsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[PermissionsRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.PermissionsRequestBuilder::|public|to_post_request_information(body:Permission; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.PermissionsRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.permissions.PermissionsRequestBuilder::|public|with_url(raw_url:str):PermissionsRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.CreatedByUserRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.CreatedByUserRequestBuilder.CreatedByUserRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.CreatedByUserRequestBuilder.CreatedByUserRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.CreatedByUserRequestBuilder.CreatedByUserRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.CreatedByUserRequestBuilder.CreatedByUserRequestBuilderGetRequestConfiguration-->RequestConfiguration[CreatedByUserRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.CreatedByUserRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.CreatedByUserRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CreatedByUserRequestBuilderGetQueryParameters]):User +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.CreatedByUserRequestBuilder::|public|mailbox_settings:MailboxSettingsRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.CreatedByUserRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.CreatedByUserRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.CreatedByUserRequestBuilder::|public|service_provisioning_errors:ServiceProvisioningErrorsRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.CreatedByUserRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CreatedByUserRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.CreatedByUserRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.CreatedByUserRequestBuilder::|public|with_url(raw_url:str):CreatedByUserRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]):MailboxSettings +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|patch(body:MailboxSettings; request_configuration?:RequestConfiguration[QueryParameters]):MailboxSettings +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|to_patch_request_information(body:MailboxSettings; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|with_url(raw_url:str):MailboxSettingsRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|count:bool +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|skip:int +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|top:int +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|count:CountRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]):ServiceProvisioningErrorCollectionResponse +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|with_url(raw_url:str):ServiceProvisioningErrorsRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.count.CountRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.count.CountRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder.CreatedByUserRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder.CreatedByUserRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder.CreatedByUserRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder.CreatedByUserRequestBuilderGetRequestConfiguration-->RequestConfiguration[CreatedByUserRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CreatedByUserRequestBuilderGetQueryParameters]):User +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder::|public|mailbox_settings:MailboxSettingsRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder::|public|service_provisioning_errors:ServiceProvisioningErrorsRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CreatedByUserRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder::|public|with_url(raw_url:str):CreatedByUserRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]):MailboxSettings +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|patch(body:MailboxSettings; request_configuration?:RequestConfiguration[QueryParameters]):MailboxSettings +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|to_patch_request_information(body:MailboxSettings; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|with_url(raw_url:str):MailboxSettingsRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|count:bool +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|skip:int +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|top:int +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|count:CountRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]):ServiceProvisioningErrorCollectionResponse +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|with_url(raw_url:str):ServiceProvisioningErrorsRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.LastModifiedByUserRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.LastModifiedByUserRequestBuilder.LastModifiedByUserRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.LastModifiedByUserRequestBuilder.LastModifiedByUserRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.LastModifiedByUserRequestBuilder.LastModifiedByUserRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.LastModifiedByUserRequestBuilder.LastModifiedByUserRequestBuilderGetRequestConfiguration-->RequestConfiguration[LastModifiedByUserRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|get(request_configuration?:RequestConfiguration[LastModifiedByUserRequestBuilderGetQueryParameters]):User +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|mailbox_settings:MailboxSettingsRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|service_provisioning_errors:ServiceProvisioningErrorsRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[LastModifiedByUserRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|with_url(raw_url:str):LastModifiedByUserRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]):MailboxSettings +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|patch(body:MailboxSettings; request_configuration?:RequestConfiguration[QueryParameters]):MailboxSettings +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|to_patch_request_information(body:MailboxSettings; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|with_url(raw_url:str):MailboxSettingsRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|count:bool +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|skip:int +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|top:int +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|count:CountRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]):ServiceProvisioningErrorCollectionResponse +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|with_url(raw_url:str):ServiceProvisioningErrorsRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder.RecycleBinItemItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder.RecycleBinItemItemRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder.RecycleBinItemItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder.RecycleBinItemItemRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder.RecycleBinItemItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[RecycleBinItemItemRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder.RecycleBinItemItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder::|public|created_by_user:CreatedByUserRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[RecycleBinItemItemRequestBuilderGetQueryParameters]):RecycleBinItem +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder::|public|last_modified_by_user:LastModifiedByUserRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder::|public|patch(body:RecycleBinItem; request_configuration?:RequestConfiguration[QueryParameters]):RecycleBinItem +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[RecycleBinItemItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder::|public|to_patch_request_information(body:RecycleBinItem; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.RecycleBinItemItemRequestBuilder::|public|with_url(raw_url:str):RecycleBinItemItemRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder.ItemsRequestBuilderGetQueryParameters::|public|count:bool +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder.ItemsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder.ItemsRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder.ItemsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder.ItemsRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder.ItemsRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder.ItemsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder.ItemsRequestBuilderGetQueryParameters::|public|skip:int +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder.ItemsRequestBuilderGetQueryParameters::|public|top:int +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder.ItemsRequestBuilderGetRequestConfiguration-->RequestConfiguration[ItemsRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder.ItemsRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder::|public|by_recycle_bin_item_id(recycle_bin_item_id:str):RecycleBinItemItemRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder::|public|count:CountRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ItemsRequestBuilderGetQueryParameters]):RecycleBinItemCollectionResponse +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder::|public|post(body:RecycleBinItem; request_configuration?:RequestConfiguration[QueryParameters]):RecycleBinItem +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ItemsRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder::|public|to_post_request_information(body:RecycleBinItem; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder::|public|with_url(raw_url:str):ItemsRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder.LastModifiedByUserRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder.LastModifiedByUserRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder.LastModifiedByUserRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder.LastModifiedByUserRequestBuilderGetRequestConfiguration-->RequestConfiguration[LastModifiedByUserRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|get(request_configuration?:RequestConfiguration[LastModifiedByUserRequestBuilderGetQueryParameters]):User +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|mailbox_settings:MailboxSettingsRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|service_provisioning_errors:ServiceProvisioningErrorsRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[LastModifiedByUserRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|with_url(raw_url:str):LastModifiedByUserRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]):MailboxSettings +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|patch(body:MailboxSettings; request_configuration?:RequestConfiguration[QueryParameters]):MailboxSettings +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|to_patch_request_information(body:MailboxSettings; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.mailboxSettings.MailboxSettingsRequestBuilder::|public|with_url(raw_url:str):MailboxSettingsRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|count:bool +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|skip:int +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|top:int +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|count:CountRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]):ServiceProvisioningErrorCollectionResponse +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|with_url(raw_url:str):ServiceProvisioningErrorsRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.RecycleBinRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.RecycleBinRequestBuilder.RecycleBinRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.RecycleBinRequestBuilder.RecycleBinRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.RecycleBinRequestBuilder.RecycleBinRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.RecycleBinRequestBuilder.RecycleBinRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.RecycleBinRequestBuilder.RecycleBinRequestBuilderGetRequestConfiguration-->RequestConfiguration[RecycleBinRequestBuilderGetQueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.RecycleBinRequestBuilder.RecycleBinRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.RecycleBinRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.RecycleBinRequestBuilder::|public|created_by_user:CreatedByUserRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.RecycleBinRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.RecycleBinRequestBuilder::|public|get(request_configuration?:RequestConfiguration[RecycleBinRequestBuilderGetQueryParameters]):RecycleBin +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.RecycleBinRequestBuilder::|public|items:ItemsRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.RecycleBinRequestBuilder::|public|last_modified_by_user:LastModifiedByUserRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.RecycleBinRequestBuilder::|public|patch(body:RecycleBin; request_configuration?:RequestConfiguration[QueryParameters]):RecycleBin +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.RecycleBinRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.RecycleBinRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.RecycleBinRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.RecycleBinRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[RecycleBinRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.RecycleBinRequestBuilder::|public|to_patch_request_information(body:RecycleBin; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.RecycleBinRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.recycleBin.RecycleBinRequestBuilder::|public|with_url(raw_url:str):RecycleBinRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.restore.RestoreRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.restore.RestoreRequestBuilder.RestoreRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.restore.RestoreRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.restore.RestoreRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.restore.RestoreRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):FileStorageContainer +msgraph.generated.storage.fileStorage.deletedContainers.item.restore.RestoreRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.restore.RestoreRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.restore.RestoreRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.restore.RestoreRequestBuilder::|public|with_url(raw_url:str):RestoreRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.unlock.UnlockRequestBuilder-->BaseRequestBuilder +msgraph.generated.storage.fileStorage.deletedContainers.item.unlock.UnlockRequestBuilder.UnlockRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.storage.fileStorage.deletedContainers.item.unlock.UnlockRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.storage.fileStorage.deletedContainers.item.unlock.UnlockRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.storage.fileStorage.deletedContainers.item.unlock.UnlockRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph.generated.storage.fileStorage.deletedContainers.item.unlock.UnlockRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.storage.fileStorage.deletedContainers.item.unlock.UnlockRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.storage.fileStorage.deletedContainers.item.unlock.UnlockRequestBuilder::|public|url_template:str +msgraph.generated.storage.fileStorage.deletedContainers.item.unlock.UnlockRequestBuilder::|public|with_url(raw_url:str):UnlockRequestBuilder msgraph.generated.storage.fileStorage.FileStorageRequestBuilder-->BaseRequestBuilder msgraph.generated.storage.fileStorage.FileStorageRequestBuilder.FileStorageRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph.generated.storage.fileStorage.FileStorageRequestBuilder.FileStorageRequestBuilderGetQueryParameters::|public|expand:List[str] @@ -170651,6 +171633,7 @@ msgraph.generated.storage.fileStorage.FileStorageRequestBuilder.FileStorageReque msgraph.generated.storage.fileStorage.FileStorageRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None msgraph.generated.storage.fileStorage.FileStorageRequestBuilder::|public|containers:ContainersRequestBuilder msgraph.generated.storage.fileStorage.FileStorageRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph.generated.storage.fileStorage.FileStorageRequestBuilder::|public|deleted_containers:DeletedContainersRequestBuilder msgraph.generated.storage.fileStorage.FileStorageRequestBuilder::|public|get(request_configuration?:RequestConfiguration[FileStorageRequestBuilderGetQueryParameters]):FileStorage msgraph.generated.storage.fileStorage.FileStorageRequestBuilder::|public|patch(body:FileStorage; request_configuration?:RequestConfiguration[QueryParameters]):FileStorage msgraph.generated.storage.fileStorage.FileStorageRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] diff --git a/msgraph/generated/kiota-lock.json b/msgraph/generated/kiota-lock.json index 05e161ece0..51846e6e14 100644 --- a/msgraph/generated/kiota-lock.json +++ b/msgraph/generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "31A9A238140C9914759C7B7A2E13B2C803B35CEE1AEA81256743169C96DF65B1F97C9D3098319C56A964B5DFF4FDF8A26D1EE0E29772953FD675969B9FB84E67", + "descriptionHash": "0D10478CC5AE4EC6098852A872AE786DED9F45C1918ED35870E3017BFA60F4EA8C5A59A80C9DB74303CDDBD302EAFA5D7BBB8F5AA4730264459AE9A8DF1205F8", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.22.0", diff --git a/msgraph/generated/models/base_item.py b/msgraph/generated/models/base_item.py index 6c81d700e0..d8819809f3 100644 --- a/msgraph/generated/models/base_item.py +++ b/msgraph/generated/models/base_item.py @@ -13,6 +13,8 @@ from .item_reference import ItemReference from .list_ import List_ from .list_item import ListItem + from .recycle_bin import RecycleBin + from .recycle_bin_item import RecycleBinItem from .shared_drive_item import SharedDriveItem from .site import Site from .site_page import SitePage @@ -81,6 +83,14 @@ def create_from_discriminator_value(parse_node: ParseNode) -> BaseItem: from .list_item import ListItem return ListItem() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.recycleBin".casefold(): + from .recycle_bin import RecycleBin + + return RecycleBin() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.recycleBinItem".casefold(): + from .recycle_bin_item import RecycleBinItem + + return RecycleBinItem() if mapping_value and mapping_value.casefold() == "#microsoft.graph.sharedDriveItem".casefold(): from .shared_drive_item import SharedDriveItem @@ -108,6 +118,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .item_reference import ItemReference from .list_ import List_ from .list_item import ListItem + from .recycle_bin import RecycleBin + from .recycle_bin_item import RecycleBinItem from .shared_drive_item import SharedDriveItem from .site import Site from .site_page import SitePage @@ -121,6 +133,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .item_reference import ItemReference from .list_ import List_ from .list_item import ListItem + from .recycle_bin import RecycleBin + from .recycle_bin_item import RecycleBinItem from .shared_drive_item import SharedDriveItem from .site import Site from .site_page import SitePage @@ -160,6 +174,8 @@ def serialize(self,writer: SerializationWriter) -> None: from .item_reference import ItemReference from .list_ import List_ from .list_item import ListItem + from .recycle_bin import RecycleBin + from .recycle_bin_item import RecycleBinItem from .shared_drive_item import SharedDriveItem from .site import Site from .site_page import SitePage diff --git a/msgraph/generated/models/eligibility_filtering_enabled_entities.py b/msgraph/generated/models/eligibility_filtering_enabled_entities.py new file mode 100644 index 0000000000..3f21f88ad7 --- /dev/null +++ b/msgraph/generated/models/eligibility_filtering_enabled_entities.py @@ -0,0 +1,9 @@ +from enum import Enum + +class EligibilityFilteringEnabledEntities(str, Enum): + None_ = "none", + SwapRequest = "swapRequest", + OfferShiftRequest = "offerShiftRequest", + UnknownFutureValue = "unknownFutureValue", + TimeOffReason = "timeOffReason", + diff --git a/msgraph/generated/models/entity.py b/msgraph/generated/models/entity.py index e2cbc610bd..d32972cf49 100644 --- a/msgraph/generated/models/entity.py +++ b/msgraph/generated/models/entity.py @@ -583,6 +583,8 @@ from .provisioning_object_summary import ProvisioningObjectSummary from .rbac_application import RbacApplication from .record_operation import RecordOperation + from .recycle_bin import RecycleBin + from .recycle_bin_item import RecycleBinItem from .reference_attachment import ReferenceAttachment from .relying_party_detailed_summary import RelyingPartyDetailedSummary from .remote_assistance_partner import RemoteAssistancePartner @@ -3311,6 +3313,14 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .record_operation import RecordOperation return RecordOperation() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.recycleBin".casefold(): + from .recycle_bin import RecycleBin + + return RecycleBin() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.recycleBinItem".casefold(): + from .recycle_bin_item import RecycleBinItem + + return RecycleBinItem() if mapping_value and mapping_value.casefold() == "#microsoft.graph.referenceAttachment".casefold(): from .reference_attachment import ReferenceAttachment @@ -5427,6 +5437,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .provisioning_object_summary import ProvisioningObjectSummary from .rbac_application import RbacApplication from .record_operation import RecordOperation + from .recycle_bin import RecycleBin + from .recycle_bin_item import RecycleBinItem from .reference_attachment import ReferenceAttachment from .relying_party_detailed_summary import RelyingPartyDetailedSummary from .remote_assistance_partner import RemoteAssistancePartner @@ -6388,6 +6400,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .provisioning_object_summary import ProvisioningObjectSummary from .rbac_application import RbacApplication from .record_operation import RecordOperation + from .recycle_bin import RecycleBin + from .recycle_bin_item import RecycleBinItem from .reference_attachment import ReferenceAttachment from .relying_party_detailed_summary import RelyingPartyDetailedSummary from .remote_assistance_partner import RemoteAssistancePartner @@ -7363,6 +7377,8 @@ def serialize(self,writer: SerializationWriter) -> None: from .provisioning_object_summary import ProvisioningObjectSummary from .rbac_application import RbacApplication from .record_operation import RecordOperation + from .recycle_bin import RecycleBin + from .recycle_bin_item import RecycleBinItem from .reference_attachment import ReferenceAttachment from .relying_party_detailed_summary import RelyingPartyDetailedSummary from .remote_assistance_partner import RemoteAssistancePartner diff --git a/msgraph/generated/models/file_storage.py b/msgraph/generated/models/file_storage.py index 7c7827cccf..9b8e13ccb0 100644 --- a/msgraph/generated/models/file_storage.py +++ b/msgraph/generated/models/file_storage.py @@ -13,6 +13,8 @@ class FileStorage(Entity, Parsable): # The containers property containers: Optional[List[FileStorageContainer]] = None + # The deletedContainers property + deleted_containers: Optional[List[FileStorageContainer]] = None # The OdataType property odata_type: Optional[str] = None @@ -40,6 +42,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "containers": lambda n : setattr(self, 'containers', n.get_collection_of_object_values(FileStorageContainer)), + "deletedContainers": lambda n : setattr(self, 'deleted_containers', n.get_collection_of_object_values(FileStorageContainer)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -58,5 +61,6 @@ def serialize(self,writer: SerializationWriter) -> None: from .file_storage_container import FileStorageContainer writer.write_collection_of_object_values("containers", self.containers) + writer.write_collection_of_object_values("deletedContainers", self.deleted_containers) diff --git a/msgraph/generated/models/file_storage_container.py b/msgraph/generated/models/file_storage_container.py index f44fcaa529..10198eb005 100644 --- a/msgraph/generated/models/file_storage_container.py +++ b/msgraph/generated/models/file_storage_container.py @@ -13,6 +13,8 @@ from .file_storage_container_status import FileStorageContainerStatus from .file_storage_container_viewpoint import FileStorageContainerViewpoint from .permission import Permission + from .recycle_bin import RecycleBin + from .site_lock_state import SiteLockState from .entity import Entity @@ -30,10 +32,14 @@ class FileStorageContainer(Entity, Parsable): display_name: Optional[str] = None # The drive of the resource fileStorageContainer. Read-only. drive: Optional[Drive] = None + # Indicates the lock state of the fileStorageContainer. The possible values are unlocked and lockedReadOnly. Read-only. + lock_state: Optional[SiteLockState] = None # The OdataType property odata_type: Optional[str] = None # 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. permissions: Optional[List[Permission]] = None + # Recycle bin of the fileStorageContainer. Read-only. + recycle_bin: Optional[RecycleBin] = None # The settings property settings: Optional[FileStorageContainerSettings] = None # Status of the fileStorageContainer. Containers are created as inactive and require activation. Inactive containers are subjected to automatic deletion in 24 hours. The possible values are: inactive, active. Read-only. @@ -64,6 +70,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .file_storage_container_status import FileStorageContainerStatus from .file_storage_container_viewpoint import FileStorageContainerViewpoint from .permission import Permission + from .recycle_bin import RecycleBin + from .site_lock_state import SiteLockState from .drive import Drive from .entity import Entity @@ -72,6 +80,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .file_storage_container_status import FileStorageContainerStatus from .file_storage_container_viewpoint import FileStorageContainerViewpoint from .permission import Permission + from .recycle_bin import RecycleBin + from .site_lock_state import SiteLockState fields: Dict[str, Callable[[Any], None]] = { "containerTypeId": lambda n : setattr(self, 'container_type_id', n.get_uuid_value()), @@ -80,7 +90,9 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "description": lambda n : setattr(self, 'description', n.get_str_value()), "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), "drive": lambda n : setattr(self, 'drive', n.get_object_value(Drive)), + "lockState": lambda n : setattr(self, 'lock_state', n.get_enum_value(SiteLockState)), "permissions": lambda n : setattr(self, 'permissions', n.get_collection_of_object_values(Permission)), + "recycleBin": lambda n : setattr(self, 'recycle_bin', n.get_object_value(RecycleBin)), "settings": lambda n : setattr(self, 'settings', n.get_object_value(FileStorageContainerSettings)), "status": lambda n : setattr(self, 'status', n.get_enum_value(FileStorageContainerStatus)), "viewpoint": lambda n : setattr(self, 'viewpoint', n.get_object_value(FileStorageContainerViewpoint)), @@ -105,6 +117,8 @@ def serialize(self,writer: SerializationWriter) -> None: from .file_storage_container_status import FileStorageContainerStatus from .file_storage_container_viewpoint import FileStorageContainerViewpoint from .permission import Permission + from .recycle_bin import RecycleBin + from .site_lock_state import SiteLockState writer.write_uuid_value("containerTypeId", self.container_type_id) writer.write_datetime_value("createdDateTime", self.created_date_time) @@ -112,7 +126,9 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_object_value("drive", self.drive) + writer.write_enum_value("lockState", self.lock_state) writer.write_collection_of_object_values("permissions", self.permissions) + writer.write_object_value("recycleBin", self.recycle_bin) writer.write_object_value("settings", self.settings) writer.write_enum_value("status", self.status) writer.write_object_value("viewpoint", self.viewpoint) diff --git a/msgraph/generated/models/file_storage_container_settings.py b/msgraph/generated/models/file_storage_container_settings.py index c4a48db433..3ece767ef9 100644 --- a/msgraph/generated/models/file_storage_container_settings.py +++ b/msgraph/generated/models/file_storage_container_settings.py @@ -11,11 +11,11 @@ class FileStorageContainerSettings(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: Dict[str, Any] = field(default_factory=dict) - # The isItemVersioningEnabled property + # Indicates whether versioning is enabled for items in the container. Optional. Read-write. is_item_versioning_enabled: Optional[bool] = None # Indicates whether Optical Character Recognition (OCR) is enabled for the container. The default value is false. When set to true, OCR extraction is performed for new and updated documents of supported document types, and the extracted fields in the metadata of the document enable end-user search and search-driven solutions. When set to false, existing OCR metadata is not impacted. Optional. Read-write. is_ocr_enabled: Optional[bool] = None - # The itemMajorVersionLimit property + # The maximum major versions allowed for items in the container. Optional. Read-write. item_major_version_limit: Optional[int] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph/generated/models/internal_domain_federation.py b/msgraph/generated/models/internal_domain_federation.py index e2f6b84b80..8f5aa60844 100644 --- a/msgraph/generated/models/internal_domain_federation.py +++ b/msgraph/generated/models/internal_domain_federation.py @@ -23,6 +23,8 @@ class InternalDomainFederation(SamlOrWsFedProvider, Parsable): is_signed_authentication_request_required: Optional[bool] = None # Fallback token signing certificate that can also be used to sign tokens, for example when the primary signing certificate expires. Formatted as Base64 encoded strings of the public portion of the federated IdP's token signing certificate. Needs to be compatible with the X509Certificate2 class. Much like the signingCertificate, the nextSigningCertificate property is used if a rollover is required outside of the auto-rollover update, a new federation service is being set up, or if the new token signing certificate isn't present in the federation properties after the federation service certificate has been updated. next_signing_certificate: Optional[str] = None + # The passwordResetUri property + password_reset_uri: Optional[str] = None # Sets the preferred behavior for the sign-in prompt. The possible values are: translateToFreshPasswordAuthentication, nativeSupport, disabled, unknownFutureValue. prompt_login_behavior: Optional[PromptLoginBehavior] = None # URI that clients are redirected to when they sign out of Microsoft Entra services. Corresponds to the LogOffUri property of the Set-MsolDomainFederationSettings MSOnline v1 PowerShell cmdlet. @@ -61,6 +63,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "federatedIdpMfaBehavior": lambda n : setattr(self, 'federated_idp_mfa_behavior', n.get_enum_value(FederatedIdpMfaBehavior)), "isSignedAuthenticationRequestRequired": lambda n : setattr(self, 'is_signed_authentication_request_required', n.get_bool_value()), "nextSigningCertificate": lambda n : setattr(self, 'next_signing_certificate', n.get_str_value()), + "passwordResetUri": lambda n : setattr(self, 'password_reset_uri', n.get_str_value()), "promptLoginBehavior": lambda n : setattr(self, 'prompt_login_behavior', n.get_enum_value(PromptLoginBehavior)), "signOutUri": lambda n : setattr(self, 'sign_out_uri', n.get_str_value()), "signingCertificateUpdateStatus": lambda n : setattr(self, 'signing_certificate_update_status', n.get_object_value(SigningCertificateUpdateStatus)), @@ -87,6 +90,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_enum_value("federatedIdpMfaBehavior", self.federated_idp_mfa_behavior) writer.write_bool_value("isSignedAuthenticationRequestRequired", self.is_signed_authentication_request_required) writer.write_str_value("nextSigningCertificate", self.next_signing_certificate) + writer.write_str_value("passwordResetUri", self.password_reset_uri) writer.write_enum_value("promptLoginBehavior", self.prompt_login_behavior) writer.write_str_value("signOutUri", self.sign_out_uri) writer.write_object_value("signingCertificateUpdateStatus", self.signing_certificate_update_status) diff --git a/msgraph/generated/models/open_shift.py b/msgraph/generated/models/open_shift.py index eb21ddc06e..df79fba634 100644 --- a/msgraph/generated/models/open_shift.py +++ b/msgraph/generated/models/open_shift.py @@ -15,6 +15,8 @@ class OpenShift(ChangeTrackedEntity, Parsable): odata_type: Optional[str] = "#microsoft.graph.openShift" # Draft changes in the openShift are only visible to managers until they're shared. draft_open_shift: Optional[OpenShiftItem] = None + # The openShift is marked for deletion, a process that is finalized when the schedule is shared. + is_staged_for_deletion: Optional[bool] = None # The ID of the schedulingGroup that contains the openShift. scheduling_group_id: Optional[str] = None # The shared version of this openShift that is viewable by both employees and managers. @@ -44,6 +46,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "draftOpenShift": lambda n : setattr(self, 'draft_open_shift', n.get_object_value(OpenShiftItem)), + "isStagedForDeletion": lambda n : setattr(self, 'is_staged_for_deletion', n.get_bool_value()), "schedulingGroupId": lambda n : setattr(self, 'scheduling_group_id', n.get_str_value()), "sharedOpenShift": lambda n : setattr(self, 'shared_open_shift', n.get_object_value(OpenShiftItem)), } @@ -64,6 +67,7 @@ def serialize(self,writer: SerializationWriter) -> None: from .open_shift_item import OpenShiftItem writer.write_object_value("draftOpenShift", self.draft_open_shift) + writer.write_bool_value("isStagedForDeletion", self.is_staged_for_deletion) writer.write_str_value("schedulingGroupId", self.scheduling_group_id) writer.write_object_value("sharedOpenShift", self.shared_open_shift) diff --git a/msgraph/generated/models/recycle_bin.py b/msgraph/generated/models/recycle_bin.py new file mode 100644 index 0000000000..686b0412df --- /dev/null +++ b/msgraph/generated/models/recycle_bin.py @@ -0,0 +1,70 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .base_item import BaseItem + from .recycle_bin_item import RecycleBinItem + from .recycle_bin_settings import RecycleBinSettings + +from .base_item import BaseItem + +@dataclass +class RecycleBin(BaseItem, Parsable): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.recycleBin" + # List of the recycleBinItems deleted by a user. + items: Optional[List[RecycleBinItem]] = None + # The settings property + settings: Optional[RecycleBinSettings] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RecycleBin: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: RecycleBin + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RecycleBin() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .base_item import BaseItem + from .recycle_bin_item import RecycleBinItem + from .recycle_bin_settings import RecycleBinSettings + + from .base_item import BaseItem + from .recycle_bin_item import RecycleBinItem + from .recycle_bin_settings import RecycleBinSettings + + fields: Dict[str, Callable[[Any], None]] = { + "items": lambda n : setattr(self, 'items', n.get_collection_of_object_values(RecycleBinItem)), + "settings": lambda n : setattr(self, 'settings', n.get_object_value(RecycleBinSettings)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from .base_item import BaseItem + from .recycle_bin_item import RecycleBinItem + from .recycle_bin_settings import RecycleBinSettings + + writer.write_collection_of_object_values("items", self.items) + writer.write_object_value("settings", self.settings) + + diff --git a/msgraph/generated/models/recycle_bin_item.py b/msgraph/generated/models/recycle_bin_item.py new file mode 100644 index 0000000000..28e84c148d --- /dev/null +++ b/msgraph/generated/models/recycle_bin_item.py @@ -0,0 +1,67 @@ +from __future__ import annotations +import datetime +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .base_item import BaseItem + +from .base_item import BaseItem + +@dataclass +class RecycleBinItem(BaseItem, Parsable): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.recycleBinItem" + # 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. + deleted_date_time: Optional[datetime.datetime] = None + # Relative URL of the list or folder that originally contained the item. + deleted_from_location: Optional[str] = None + # Size of the item in bytes. + size: Optional[int] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RecycleBinItem: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: RecycleBinItem + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RecycleBinItem() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .base_item import BaseItem + + from .base_item import BaseItem + + fields: Dict[str, Callable[[Any], None]] = { + "deletedDateTime": lambda n : setattr(self, 'deleted_date_time', n.get_datetime_value()), + "deletedFromLocation": lambda n : setattr(self, 'deleted_from_location', n.get_str_value()), + "size": lambda n : setattr(self, 'size', n.get_int_value()), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from .base_item import BaseItem + + writer.write_datetime_value("deletedDateTime", self.deleted_date_time) + writer.write_str_value("deletedFromLocation", self.deleted_from_location) + writer.write_int_value("size", self.size) + + diff --git a/msgraph/generated/models/recycle_bin_item_collection_response.py b/msgraph/generated/models/recycle_bin_item_collection_response.py new file mode 100644 index 0000000000..b0746a25a5 --- /dev/null +++ b/msgraph/generated/models/recycle_bin_item_collection_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .recycle_bin_item import RecycleBinItem + +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class RecycleBinItemCollectionResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[List[RecycleBinItem]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RecycleBinItemCollectionResponse: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: RecycleBinItemCollectionResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RecycleBinItemCollectionResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .recycle_bin_item import RecycleBinItem + + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .recycle_bin_item import RecycleBinItem + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(RecycleBinItem)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .recycle_bin_item import RecycleBinItem + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph/generated/models/recycle_bin_settings.py b/msgraph/generated/models/recycle_bin_settings.py new file mode 100644 index 0000000000..6ff6fc8203 --- /dev/null +++ b/msgraph/generated/models/recycle_bin_settings.py @@ -0,0 +1,53 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class RecycleBinSettings(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: Dict[str, Any] = field(default_factory=dict) + # The OdataType property + odata_type: Optional[str] = None + # 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. + retention_period_override_days: Optional[int] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RecycleBinSettings: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: RecycleBinSettings + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RecycleBinSettings() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + fields: Dict[str, Callable[[Any], None]] = { + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "retentionPeriodOverrideDays": lambda n : setattr(self, 'retention_period_override_days', n.get_int_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("@odata.type", self.odata_type) + writer.write_int_value("retentionPeriodOverrideDays", self.retention_period_override_days) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/models/shift.py b/msgraph/generated/models/shift.py index 653a615a34..241adc9e8e 100644 --- a/msgraph/generated/models/shift.py +++ b/msgraph/generated/models/shift.py @@ -15,6 +15,8 @@ class Shift(ChangeTrackedEntity, Parsable): odata_type: Optional[str] = "#microsoft.graph.shift" # Draft changes in the shift. Draft changes are only visible to managers. The changes are visible to employees when they are shared, which copies the changes from the draftShift to the sharedShift property. draft_shift: Optional[ShiftItem] = None + # The shift is marked for deletion, a process that is finalized when the schedule is shared. + is_staged_for_deletion: Optional[bool] = None # ID of the scheduling group the shift is part of. Required. scheduling_group_id: Optional[str] = None # The shared version of this shift that is viewable by both employees and managers. Updates to the sharedShift property send notifications to users in the Teams client. @@ -46,6 +48,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "draftShift": lambda n : setattr(self, 'draft_shift', n.get_object_value(ShiftItem)), + "isStagedForDeletion": lambda n : setattr(self, 'is_staged_for_deletion', n.get_bool_value()), "schedulingGroupId": lambda n : setattr(self, 'scheduling_group_id', n.get_str_value()), "sharedShift": lambda n : setattr(self, 'shared_shift', n.get_object_value(ShiftItem)), "userId": lambda n : setattr(self, 'user_id', n.get_str_value()), @@ -67,6 +70,7 @@ def serialize(self,writer: SerializationWriter) -> None: from .shift_item import ShiftItem writer.write_object_value("draftShift", self.draft_shift) + writer.write_bool_value("isStagedForDeletion", self.is_staged_for_deletion) writer.write_str_value("schedulingGroupId", self.scheduling_group_id) writer.write_object_value("sharedShift", self.shared_shift) writer.write_str_value("userId", self.user_id) diff --git a/msgraph/generated/models/site_lock_state.py b/msgraph/generated/models/site_lock_state.py new file mode 100644 index 0000000000..55d7de9e96 --- /dev/null +++ b/msgraph/generated/models/site_lock_state.py @@ -0,0 +1,9 @@ +from enum import Enum + +class SiteLockState(str, Enum): + Unlocked = "unlocked", + LockedReadOnly = "lockedReadOnly", + LockedNoAccess = "lockedNoAccess", + LockedNoAdditions = "lockedNoAdditions", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph/generated/models/time_off.py b/msgraph/generated/models/time_off.py index e3886e3a64..fd2b3f2073 100644 --- a/msgraph/generated/models/time_off.py +++ b/msgraph/generated/models/time_off.py @@ -15,6 +15,8 @@ class TimeOff(ChangeTrackedEntity, Parsable): odata_type: Optional[str] = "#microsoft.graph.timeOff" # The draft version of this timeOff item that is viewable by managers. It must be shared before it's visible to team members. Required. draft_time_off: Optional[TimeOffItem] = None + # The timeOff is marked for deletion, a process that is finalized when the schedule is shared. + is_staged_for_deletion: Optional[bool] = None # 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. shared_time_off: Optional[TimeOffItem] = None # ID of the user assigned to the timeOff. Required. @@ -44,6 +46,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "draftTimeOff": lambda n : setattr(self, 'draft_time_off', n.get_object_value(TimeOffItem)), + "isStagedForDeletion": lambda n : setattr(self, 'is_staged_for_deletion', n.get_bool_value()), "sharedTimeOff": lambda n : setattr(self, 'shared_time_off', n.get_object_value(TimeOffItem)), "userId": lambda n : setattr(self, 'user_id', n.get_str_value()), } @@ -64,6 +67,7 @@ def serialize(self,writer: SerializationWriter) -> None: from .time_off_item import TimeOffItem writer.write_object_value("draftTimeOff", self.draft_time_off) + writer.write_bool_value("isStagedForDeletion", self.is_staged_for_deletion) writer.write_object_value("sharedTimeOff", self.shared_time_off) writer.write_str_value("userId", self.user_id) diff --git a/msgraph/generated/models/workbook_worksheet_protection_options.py b/msgraph/generated/models/workbook_worksheet_protection_options.py index 11f4f253c3..282556f70f 100644 --- a/msgraph/generated/models/workbook_worksheet_protection_options.py +++ b/msgraph/generated/models/workbook_worksheet_protection_options.py @@ -11,27 +11,27 @@ class WorkbookWorksheetProtectionOptions(AdditionalDataHolder, BackedModel, Pars # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: Dict[str, Any] = field(default_factory=dict) - # Represents the worksheet protection option of allowing using auto filter feature. + # Indicates whether the worksheet protection option to allow the use of the autofilter feature is enabled. allow_auto_filter: Optional[bool] = None - # Represents the worksheet protection option of allowing deleting columns. + # Indicates whether the worksheet protection option to allow deleting columns is enabled. allow_delete_columns: Optional[bool] = None - # Represents the worksheet protection option of allowing deleting rows. + # Indicates whether the worksheet protection option to allow deleting rows is enabled. allow_delete_rows: Optional[bool] = None - # Represents the worksheet protection option of allowing formatting cells. + # Indicates whether the worksheet protection option to allow formatting cells is enabled. allow_format_cells: Optional[bool] = None - # Represents the worksheet protection option of allowing formatting columns. + # Indicates whether the worksheet protection option to allow formatting columns is enabled. allow_format_columns: Optional[bool] = None - # Represents the worksheet protection option of allowing formatting rows. + # Indicates whether the worksheet protection option to allow formatting rows is enabled. allow_format_rows: Optional[bool] = None - # Represents the worksheet protection option of allowing inserting columns. + # Indicates whether the worksheet protection option to allow inserting columns is enabled. allow_insert_columns: Optional[bool] = None - # Represents the worksheet protection option of allowing inserting hyperlinks. + # Indicates whether the worksheet protection option to allow inserting hyperlinks is enabled. allow_insert_hyperlinks: Optional[bool] = None - # Represents the worksheet protection option of allowing inserting rows. + # Indicates whether the worksheet protection option to allow inserting rows is enabled. allow_insert_rows: Optional[bool] = None - # Represents the worksheet protection option of allowing using pivot table feature. + # Indicates whether the worksheet protection option to allow the use of the pivot table feature is enabled. allow_pivot_tables: Optional[bool] = None - # Represents the worksheet protection option of allowing using sort feature. + # Indicates whether the worksheet protection option to allow the use of the sort feature is enabled. allow_sort: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph/generated/models/workforce_integration.py b/msgraph/generated/models/workforce_integration.py index 59e8b651cc..897dc43fe2 100644 --- a/msgraph/generated/models/workforce_integration.py +++ b/msgraph/generated/models/workforce_integration.py @@ -5,6 +5,7 @@ if TYPE_CHECKING: from .change_tracked_entity import ChangeTrackedEntity + from .eligibility_filtering_enabled_entities import EligibilityFilteringEnabledEntities from .workforce_integration_encryption import WorkforceIntegrationEncryption from .workforce_integration_supported_entities import WorkforceIntegrationSupportedEntities @@ -18,6 +19,8 @@ class WorkforceIntegration(ChangeTrackedEntity, Parsable): api_version: Optional[int] = None # Name of the workforce integration. display_name: Optional[str] = None + # 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. + eligibility_filtering_enabled_entities: Optional[EligibilityFilteringEnabledEntities] = None # The workforce integration encryption resource. encryption: Optional[WorkforceIntegrationEncryption] = None # Indicates whether this workforce integration is currently active and available. @@ -44,16 +47,19 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .change_tracked_entity import ChangeTrackedEntity + from .eligibility_filtering_enabled_entities import EligibilityFilteringEnabledEntities from .workforce_integration_encryption import WorkforceIntegrationEncryption from .workforce_integration_supported_entities import WorkforceIntegrationSupportedEntities from .change_tracked_entity import ChangeTrackedEntity + from .eligibility_filtering_enabled_entities import EligibilityFilteringEnabledEntities from .workforce_integration_encryption import WorkforceIntegrationEncryption from .workforce_integration_supported_entities import WorkforceIntegrationSupportedEntities fields: Dict[str, Callable[[Any], None]] = { "apiVersion": lambda n : setattr(self, 'api_version', n.get_int_value()), "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + "eligibilityFilteringEnabledEntities": lambda n : setattr(self, 'eligibility_filtering_enabled_entities', n.get_collection_of_enum_values(EligibilityFilteringEnabledEntities)), "encryption": lambda n : setattr(self, 'encryption', n.get_object_value(WorkforceIntegrationEncryption)), "isActive": lambda n : setattr(self, 'is_active', n.get_bool_value()), "supportedEntities": lambda n : setattr(self, 'supported_entities', n.get_collection_of_enum_values(WorkforceIntegrationSupportedEntities)), @@ -73,11 +79,13 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") super().serialize(writer) from .change_tracked_entity import ChangeTrackedEntity + from .eligibility_filtering_enabled_entities import EligibilityFilteringEnabledEntities from .workforce_integration_encryption import WorkforceIntegrationEncryption from .workforce_integration_supported_entities import WorkforceIntegrationSupportedEntities writer.write_int_value("apiVersion", self.api_version) writer.write_str_value("displayName", self.display_name) + writer.write_enum_value("eligibilityFilteringEnabledEntities", self.eligibility_filtering_enabled_entities) writer.write_object_value("encryption", self.encryption) writer.write_bool_value("isActive", self.is_active) writer.write_enum_value("supportedEntities", self.supported_entities) diff --git a/msgraph/generated/models/workforce_integration_supported_entities.py b/msgraph/generated/models/workforce_integration_supported_entities.py index 7d4c07fbe0..2b3762ce85 100644 --- a/msgraph/generated/models/workforce_integration_supported_entities.py +++ b/msgraph/generated/models/workforce_integration_supported_entities.py @@ -9,4 +9,7 @@ class WorkforceIntegrationSupportedEntities(str, Enum): OpenShiftRequest = "openShiftRequest", OfferShiftRequest = "offerShiftRequest", UnknownFutureValue = "unknownFutureValue", + TimeOffReason = "timeOffReason", + TimeOff = "timeOff", + TimeOffRequest = "timeOffRequest", diff --git a/msgraph/generated/models/x509_certificate_authentication_method_configuration.py b/msgraph/generated/models/x509_certificate_authentication_method_configuration.py index a74ffaf770..01091cf175 100644 --- a/msgraph/generated/models/x509_certificate_authentication_method_configuration.py +++ b/msgraph/generated/models/x509_certificate_authentication_method_configuration.py @@ -7,6 +7,7 @@ from .authentication_method_configuration import AuthenticationMethodConfiguration from .authentication_method_target import AuthenticationMethodTarget from .x509_certificate_authentication_mode_configuration import X509CertificateAuthenticationModeConfiguration + from .x509_certificate_c_r_l_validation_configuration import X509CertificateCRLValidationConfiguration from .x509_certificate_user_binding import X509CertificateUserBinding from .authentication_method_configuration import AuthenticationMethodConfiguration @@ -19,6 +20,8 @@ class X509CertificateAuthenticationMethodConfiguration(AuthenticationMethodConfi authentication_mode_configuration: Optional[X509CertificateAuthenticationModeConfiguration] = None # Defines fields in the X.509 certificate that map to attributes of the Microsoft Entra user object in order to bind the certificate to the user. The priority of the object determines the order in which the binding is carried out. The first binding that matches will be used and the rest ignored. certificate_user_bindings: Optional[List[X509CertificateUserBinding]] = None + # The crlValidationConfiguration property + crl_validation_configuration: Optional[X509CertificateCRLValidationConfiguration] = None # A collection of groups that are enabled to use the authentication method. include_targets: Optional[List[AuthenticationMethodTarget]] = None @@ -41,16 +44,19 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .authentication_method_configuration import AuthenticationMethodConfiguration from .authentication_method_target import AuthenticationMethodTarget from .x509_certificate_authentication_mode_configuration import X509CertificateAuthenticationModeConfiguration + from .x509_certificate_c_r_l_validation_configuration import X509CertificateCRLValidationConfiguration from .x509_certificate_user_binding import X509CertificateUserBinding from .authentication_method_configuration import AuthenticationMethodConfiguration from .authentication_method_target import AuthenticationMethodTarget from .x509_certificate_authentication_mode_configuration import X509CertificateAuthenticationModeConfiguration + from .x509_certificate_c_r_l_validation_configuration import X509CertificateCRLValidationConfiguration from .x509_certificate_user_binding import X509CertificateUserBinding fields: Dict[str, Callable[[Any], None]] = { "authenticationModeConfiguration": lambda n : setattr(self, 'authentication_mode_configuration', n.get_object_value(X509CertificateAuthenticationModeConfiguration)), "certificateUserBindings": lambda n : setattr(self, 'certificate_user_bindings', n.get_collection_of_object_values(X509CertificateUserBinding)), + "crlValidationConfiguration": lambda n : setattr(self, 'crl_validation_configuration', n.get_object_value(X509CertificateCRLValidationConfiguration)), "includeTargets": lambda n : setattr(self, 'include_targets', n.get_collection_of_object_values(AuthenticationMethodTarget)), } super_fields = super().get_field_deserializers() @@ -69,10 +75,12 @@ def serialize(self,writer: SerializationWriter) -> None: from .authentication_method_configuration import AuthenticationMethodConfiguration from .authentication_method_target import AuthenticationMethodTarget from .x509_certificate_authentication_mode_configuration import X509CertificateAuthenticationModeConfiguration + from .x509_certificate_c_r_l_validation_configuration import X509CertificateCRLValidationConfiguration from .x509_certificate_user_binding import X509CertificateUserBinding writer.write_object_value("authenticationModeConfiguration", self.authentication_mode_configuration) writer.write_collection_of_object_values("certificateUserBindings", self.certificate_user_bindings) + writer.write_object_value("crlValidationConfiguration", self.crl_validation_configuration) writer.write_collection_of_object_values("includeTargets", self.include_targets) diff --git a/msgraph/generated/models/x509_certificate_c_r_l_validation_configuration.py b/msgraph/generated/models/x509_certificate_c_r_l_validation_configuration.py new file mode 100644 index 0000000000..3ef843edd6 --- /dev/null +++ b/msgraph/generated/models/x509_certificate_c_r_l_validation_configuration.py @@ -0,0 +1,66 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .x509_certificate_c_r_l_validation_configuration_state import X509CertificateCRLValidationConfigurationState + +@dataclass +class X509CertificateCRLValidationConfiguration(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: Dict[str, Any] = field(default_factory=dict) + # The exemptedCertificateAuthoritiesSubjectKeyIdentifiers property + exempted_certificate_authorities_subject_key_identifiers: Optional[List[str]] = None + # The OdataType property + odata_type: Optional[str] = None + # The state property + state: Optional[X509CertificateCRLValidationConfigurationState] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> X509CertificateCRLValidationConfiguration: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: X509CertificateCRLValidationConfiguration + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return X509CertificateCRLValidationConfiguration() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .x509_certificate_c_r_l_validation_configuration_state import X509CertificateCRLValidationConfigurationState + + from .x509_certificate_c_r_l_validation_configuration_state import X509CertificateCRLValidationConfigurationState + + fields: Dict[str, Callable[[Any], None]] = { + "exemptedCertificateAuthoritiesSubjectKeyIdentifiers": lambda n : setattr(self, 'exempted_certificate_authorities_subject_key_identifiers', n.get_collection_of_primitive_values(str)), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "state": lambda n : setattr(self, 'state', n.get_enum_value(X509CertificateCRLValidationConfigurationState)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + from .x509_certificate_c_r_l_validation_configuration_state import X509CertificateCRLValidationConfigurationState + + writer.write_collection_of_primitive_values("exemptedCertificateAuthoritiesSubjectKeyIdentifiers", self.exempted_certificate_authorities_subject_key_identifiers) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_enum_value("state", self.state) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/models/x509_certificate_c_r_l_validation_configuration_state.py b/msgraph/generated/models/x509_certificate_c_r_l_validation_configuration_state.py new file mode 100644 index 0000000000..277b25b4dd --- /dev/null +++ b/msgraph/generated/models/x509_certificate_c_r_l_validation_configuration_state.py @@ -0,0 +1,7 @@ +from enum import Enum + +class X509CertificateCRLValidationConfigurationState(str, Enum): + Disabled = "disabled", + Enabled = "enabled", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py b/msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py index fddf28273b..c96fbb0032 100644 --- a/msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py +++ b/msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py @@ -48,10 +48,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[bytes]: """ - Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. + Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes - Find more info here: https://learn.microsoft.com/graph/api/organizationalbrandinglocalization-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/organizationalbranding-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. + Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/organization/item/organization_item_request_builder.py b/msgraph/generated/organization/item/organization_item_request_builder.py index 05ccdbe73a..f694f8a8b7 100644 --- a/msgraph/generated/organization/item/organization_item_request_builder.py +++ b/msgraph/generated/organization/item/organization_item_request_builder.py @@ -58,10 +58,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[OrganizationItemRequestBuilderGetQueryParameters]] = None) -> Optional[Organization]: """ - 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. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Organization] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-organization-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/organization-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -114,7 +114,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OrganizationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - 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. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -239,7 +239,7 @@ class OrganizationItemRequestBuilderDeleteRequestConfiguration(RequestConfigurat @dataclass class OrganizationItemRequestBuilderGetQueryParameters(): """ - 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. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/organization/organization_request_builder.py b/msgraph/generated/organization/organization_request_builder.py index f6d24dc2d3..39e29dc45e 100644 --- a/msgraph/generated/organization/organization_request_builder.py +++ b/msgraph/generated/organization/organization_request_builder.py @@ -52,10 +52,10 @@ def by_organization_id(self,organization_id: str) -> OrganizationItemRequestBuil async def get(self,request_configuration: Optional[RequestConfiguration[OrganizationRequestBuilderGetQueryParameters]] = None) -> Optional[OrganizationCollectionResponse]: """ - Retrieve a list of organization objects. There's only one organization object in the collection. + List properties and relationships of the organization objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OrganizationCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/organization-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-organization-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -96,7 +96,7 @@ async def post(self,body: Organization, request_configuration: Optional[RequestC def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OrganizationRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve a list of organization objects. There's only one organization object in the collection. + List properties and relationships of the organization objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -178,7 +178,7 @@ def validate_properties(self) -> ValidatePropertiesRequestBuilder: @dataclass class OrganizationRequestBuilderGetQueryParameters(): """ - Retrieve a list of organization objects. There's only one organization object in the collection. + List properties and relationships of the organization objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/sites/sites_request_builder.py b/msgraph/generated/sites/sites_request_builder.py index 3a78960a52..f1ac4ef794 100644 --- a/msgraph/generated/sites/sites_request_builder.py +++ b/msgraph/generated/sites/sites_request_builder.py @@ -51,10 +51,10 @@ def by_site_id(self,site_id: str) -> SiteItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[SitesRequestBuilderGetQueryParameters]] = None) -> Optional[SiteCollectionResponse]: """ - Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/site-search?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/site-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SitesReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SitesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -139,7 +139,7 @@ def remove(self) -> RemoveRequestBuilder: @dataclass class SitesRequestBuilderGetQueryParameters(): """ - Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/storage/file_storage/containers/item/file_storage_container_item_request_builder.py b/msgraph/generated/storage/file_storage/containers/item/file_storage_container_item_request_builder.py index 3100e02902..b9eb633c88 100644 --- a/msgraph/generated/storage/file_storage/containers/item/file_storage_container_item_request_builder.py +++ b/msgraph/generated/storage/file_storage/containers/item/file_storage_container_item_request_builder.py @@ -17,8 +17,12 @@ from .....models.o_data_errors.o_data_error import ODataError from .activate.activate_request_builder import ActivateRequestBuilder from .drive.drive_request_builder import DriveRequestBuilder + from .lock.lock_request_builder import LockRequestBuilder from .permanent_delete.permanent_delete_request_builder import PermanentDeleteRequestBuilder from .permissions.permissions_request_builder import PermissionsRequestBuilder + from .recycle_bin.recycle_bin_request_builder import RecycleBinRequestBuilder + from .restore.restore_request_builder import RestoreRequestBuilder + from .unlock.unlock_request_builder import UnlockRequestBuilder class FileStorageContainerItemRequestBuilder(BaseRequestBuilder): """ @@ -159,6 +163,15 @@ def drive(self) -> DriveRequestBuilder: return DriveRequestBuilder(self.request_adapter, self.path_parameters) + @property + def lock(self) -> LockRequestBuilder: + """ + Provides operations to call the lock method. + """ + from .lock.lock_request_builder import LockRequestBuilder + + return LockRequestBuilder(self.request_adapter, self.path_parameters) + @property def permanent_delete(self) -> PermanentDeleteRequestBuilder: """ @@ -177,6 +190,33 @@ def permissions(self) -> PermissionsRequestBuilder: return PermissionsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def recycle_bin(self) -> RecycleBinRequestBuilder: + """ + Provides operations to manage the recycleBin property of the microsoft.graph.fileStorageContainer entity. + """ + from .recycle_bin.recycle_bin_request_builder import RecycleBinRequestBuilder + + return RecycleBinRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def restore(self) -> RestoreRequestBuilder: + """ + Provides operations to call the restore method. + """ + from .restore.restore_request_builder import RestoreRequestBuilder + + return RestoreRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def unlock(self) -> UnlockRequestBuilder: + """ + Provides operations to call the unlock method. + """ + from .unlock.unlock_request_builder import UnlockRequestBuilder + + return UnlockRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class FileStorageContainerItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): """ diff --git a/msgraph/generated/storage/file_storage/containers/item/lock/lock_post_request_body.py b/msgraph/generated/storage/file_storage/containers/item/lock/lock_post_request_body.py new file mode 100644 index 0000000000..b49c860b58 --- /dev/null +++ b/msgraph/generated/storage/file_storage/containers/item/lock/lock_post_request_body.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.site_lock_state import SiteLockState + +@dataclass +class LockPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: Dict[str, Any] = field(default_factory=dict) + # The lockState property + lock_state: Optional[SiteLockState] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> LockPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: LockPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return LockPostRequestBody() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ......models.site_lock_state import SiteLockState + + from ......models.site_lock_state import SiteLockState + + fields: Dict[str, Callable[[Any], None]] = { + "lockState": lambda n : setattr(self, 'lock_state', n.get_enum_value(SiteLockState)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + from ......models.site_lock_state import SiteLockState + + writer.write_enum_value("lockState", self.lock_state) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/storage/file_storage/containers/item/lock/lock_request_builder.py b/msgraph/generated/storage/file_storage/containers/item/lock/lock_request_builder.py new file mode 100644 index 0000000000..b036f0766c --- /dev/null +++ b/msgraph/generated/storage/file_storage/containers/item/lock/lock_request_builder.py @@ -0,0 +1,85 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from .lock_post_request_body import LockPostRequestBody + +class LockRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the lock method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new LockRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/lock", path_parameters) + + async def post(self,body: LockPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Invoke action lock + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,body: LockPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action lock + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> LockRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: LockRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return LockRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class LockRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/containers/item/recycle_bin/created_by_user/created_by_user_request_builder.py b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/created_by_user/created_by_user_request_builder.py new file mode 100644 index 0000000000..445e7ab698 --- /dev/null +++ b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/created_by_user/created_by_user_request_builder.py @@ -0,0 +1,126 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .......models.user import User + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + +class CreatedByUserRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CreatedByUserRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/createdByUser{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CreatedByUserRequestBuilderGetQueryParameters]] = None) -> Optional[User]: + """ + Identity of the user who created the item. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[User] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.user import User + + return await self.request_adapter.send_async(request_info, User, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CreatedByUserRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Identity of the user who created the item. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> CreatedByUserRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CreatedByUserRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CreatedByUserRequestBuilder(self.request_adapter, raw_url) + + @property + def mailbox_settings(self) -> MailboxSettingsRequestBuilder: + """ + The mailboxSettings property + """ + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + + return MailboxSettingsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def service_provisioning_errors(self) -> ServiceProvisioningErrorsRequestBuilder: + """ + The serviceProvisioningErrors property + """ + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class CreatedByUserRequestBuilderGetQueryParameters(): + """ + Identity of the user who created the item. Read-only. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class CreatedByUserRequestBuilderGetRequestConfiguration(RequestConfiguration[CreatedByUserRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/containers/item/recycle_bin/created_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/created_by_user/mailbox_settings/mailbox_settings_request_builder.py new file mode 100644 index 0000000000..c19ffde03a --- /dev/null +++ b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/created_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -0,0 +1,151 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.mailbox_settings import MailboxSettings + from ........models.o_data_errors.o_data_error import ODataError + +class MailboxSettingsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /storage/fileStorage/containers/{fileStorageContainer-id}/recycleBin/createdByUser/mailboxSettings + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new MailboxSettingsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/createdByUser/mailboxSettings{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxSettings]: + """ + 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. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + async def patch(self,body: MailboxSettings, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MailboxSettings]: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + 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. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: MailboxSettings, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: MailboxSettingsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MailboxSettingsRequestBuilderGetQueryParameters(): + """ + 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. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class MailboxSettingsRequestBuilderGetRequestConfiguration(RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class MailboxSettingsRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/containers/item/recycle_bin/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/created_by_user/service_provisioning_errors/count/count_request_builder.py new file mode 100644 index 0000000000..1cfdef50e5 --- /dev/null +++ b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .........models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/createdByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/containers/item/recycle_bin/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py new file mode 100644 index 0000000000..411e898b90 --- /dev/null +++ b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -0,0 +1,146 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + from .count.count_request_builder import CountRequestBuilder + +class ServiceProvisioningErrorsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /storage/fileStorage/containers/{fileStorageContainer-id}/recycleBin/createdByUser/serviceProvisioningErrors + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ServiceProvisioningErrorsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/createdByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: + """ + 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). + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ServiceProvisioningErrorCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + + return await self.request_adapter.send_async(request_info, ServiceProvisioningErrorCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + 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). + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: ServiceProvisioningErrorsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): + """ + 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). + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration(RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/count/count_request_builder.py b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/count/count_request_builder.py new file mode 100644 index 0000000000..1d74356fb0 --- /dev/null +++ b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/created_by_user/created_by_user_request_builder.py b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/created_by_user/created_by_user_request_builder.py new file mode 100644 index 0000000000..47db7d44b2 --- /dev/null +++ b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/created_by_user/created_by_user_request_builder.py @@ -0,0 +1,126 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .........models.o_data_errors.o_data_error import ODataError + from .........models.user import User + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + +class CreatedByUserRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CreatedByUserRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CreatedByUserRequestBuilderGetQueryParameters]] = None) -> Optional[User]: + """ + Identity of the user who created the item. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[User] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.user import User + + return await self.request_adapter.send_async(request_info, User, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CreatedByUserRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Identity of the user who created the item. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> CreatedByUserRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CreatedByUserRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CreatedByUserRequestBuilder(self.request_adapter, raw_url) + + @property + def mailbox_settings(self) -> MailboxSettingsRequestBuilder: + """ + The mailboxSettings property + """ + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + + return MailboxSettingsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def service_provisioning_errors(self) -> ServiceProvisioningErrorsRequestBuilder: + """ + The serviceProvisioningErrors property + """ + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class CreatedByUserRequestBuilderGetQueryParameters(): + """ + Identity of the user who created the item. Read-only. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class CreatedByUserRequestBuilderGetRequestConfiguration(RequestConfiguration[CreatedByUserRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py new file mode 100644 index 0000000000..50050d22c1 --- /dev/null +++ b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -0,0 +1,151 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ..........models.mailbox_settings import MailboxSettings + from ..........models.o_data_errors.o_data_error import ODataError + +class MailboxSettingsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /storage/fileStorage/containers/{fileStorageContainer-id}/recycleBin/items/{recycleBinItem-id}/createdByUser/mailboxSettings + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new MailboxSettingsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser/mailboxSettings{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxSettings]: + """ + 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. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + async def patch(self,body: MailboxSettings, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MailboxSettings]: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + 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. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: MailboxSettings, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: MailboxSettingsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MailboxSettingsRequestBuilderGetQueryParameters(): + """ + 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. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class MailboxSettingsRequestBuilderGetRequestConfiguration(RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class MailboxSettingsRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py new file mode 100644 index 0000000000..05fb695e48 --- /dev/null +++ b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ...........models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py new file mode 100644 index 0000000000..711e631fb8 --- /dev/null +++ b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -0,0 +1,146 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ..........models.o_data_errors.o_data_error import ODataError + from ..........models.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + from .count.count_request_builder import CountRequestBuilder + +class ServiceProvisioningErrorsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /storage/fileStorage/containers/{fileStorageContainer-id}/recycleBin/items/{recycleBinItem-id}/createdByUser/serviceProvisioningErrors + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ServiceProvisioningErrorsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: + """ + 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). + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ServiceProvisioningErrorCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + + return await self.request_adapter.send_async(request_info, ServiceProvisioningErrorCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + 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). + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: ServiceProvisioningErrorsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): + """ + 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). + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration(RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/last_modified_by_user/last_modified_by_user_request_builder.py b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/last_modified_by_user/last_modified_by_user_request_builder.py new file mode 100644 index 0000000000..b14fdd34c5 --- /dev/null +++ b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/last_modified_by_user/last_modified_by_user_request_builder.py @@ -0,0 +1,126 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .........models.o_data_errors.o_data_error import ODataError + from .........models.user import User + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + +class LastModifiedByUserRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new LastModifiedByUserRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[LastModifiedByUserRequestBuilderGetQueryParameters]] = None) -> Optional[User]: + """ + Identity of the user who last modified the item. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[User] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.user import User + + return await self.request_adapter.send_async(request_info, User, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[LastModifiedByUserRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Identity of the user who last modified the item. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> LastModifiedByUserRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: LastModifiedByUserRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return LastModifiedByUserRequestBuilder(self.request_adapter, raw_url) + + @property + def mailbox_settings(self) -> MailboxSettingsRequestBuilder: + """ + The mailboxSettings property + """ + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + + return MailboxSettingsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def service_provisioning_errors(self) -> ServiceProvisioningErrorsRequestBuilder: + """ + The serviceProvisioningErrors property + """ + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class LastModifiedByUserRequestBuilderGetQueryParameters(): + """ + Identity of the user who last modified the item. Read-only. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class LastModifiedByUserRequestBuilderGetRequestConfiguration(RequestConfiguration[LastModifiedByUserRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py new file mode 100644 index 0000000000..00e5e3d35d --- /dev/null +++ b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -0,0 +1,151 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ..........models.mailbox_settings import MailboxSettings + from ..........models.o_data_errors.o_data_error import ODataError + +class MailboxSettingsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /storage/fileStorage/containers/{fileStorageContainer-id}/recycleBin/items/{recycleBinItem-id}/lastModifiedByUser/mailboxSettings + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new MailboxSettingsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser/mailboxSettings{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxSettings]: + """ + 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. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + async def patch(self,body: MailboxSettings, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MailboxSettings]: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + 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. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: MailboxSettings, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: MailboxSettingsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MailboxSettingsRequestBuilderGetQueryParameters(): + """ + 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. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class MailboxSettingsRequestBuilderGetRequestConfiguration(RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class MailboxSettingsRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py new file mode 100644 index 0000000000..8e2738596f --- /dev/null +++ b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ...........models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py new file mode 100644 index 0000000000..f1421fd909 --- /dev/null +++ b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -0,0 +1,146 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ..........models.o_data_errors.o_data_error import ODataError + from ..........models.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + from .count.count_request_builder import CountRequestBuilder + +class ServiceProvisioningErrorsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /storage/fileStorage/containers/{fileStorageContainer-id}/recycleBin/items/{recycleBinItem-id}/lastModifiedByUser/serviceProvisioningErrors + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ServiceProvisioningErrorsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: + """ + 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). + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ServiceProvisioningErrorCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + + return await self.request_adapter.send_async(request_info, ServiceProvisioningErrorCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + 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). + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: ServiceProvisioningErrorsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): + """ + 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). + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration(RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/recycle_bin_item_item_request_builder.py b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/recycle_bin_item_item_request_builder.py new file mode 100644 index 0000000000..ae09699865 --- /dev/null +++ b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/recycle_bin_item_item_request_builder.py @@ -0,0 +1,207 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.recycle_bin_item import RecycleBinItem + from .created_by_user.created_by_user_request_builder import CreatedByUserRequestBuilder + from .last_modified_by_user.last_modified_by_user_request_builder import LastModifiedByUserRequestBuilder + +class RecycleBinItemItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the items property of the microsoft.graph.recycleBin entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new RecycleBinItemItemRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property items for storage + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[RecycleBinItemItemRequestBuilderGetQueryParameters]] = None) -> Optional[RecycleBinItem]: + """ + List of the recycleBinItems deleted by a user. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RecycleBinItem] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.recycle_bin_item import RecycleBinItem + + return await self.request_adapter.send_async(request_info, RecycleBinItem, error_mapping) + + async def patch(self,body: RecycleBinItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RecycleBinItem]: + """ + Update the navigation property items in storage + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RecycleBinItem] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.recycle_bin_item import RecycleBinItem + + return await self.request_adapter.send_async(request_info, RecycleBinItem, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property items for storage + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RecycleBinItemItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + List of the recycleBinItems deleted by a user. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: RecycleBinItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property items in storage + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> RecycleBinItemItemRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: RecycleBinItemItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RecycleBinItemItemRequestBuilder(self.request_adapter, raw_url) + + @property + def created_by_user(self) -> CreatedByUserRequestBuilder: + """ + Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. + """ + from .created_by_user.created_by_user_request_builder import CreatedByUserRequestBuilder + + return CreatedByUserRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def last_modified_by_user(self) -> LastModifiedByUserRequestBuilder: + """ + Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. + """ + from .last_modified_by_user.last_modified_by_user_request_builder import LastModifiedByUserRequestBuilder + + return LastModifiedByUserRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class RecycleBinItemItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class RecycleBinItemItemRequestBuilderGetQueryParameters(): + """ + List of the recycleBinItems deleted by a user. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class RecycleBinItemItemRequestBuilderGetRequestConfiguration(RequestConfiguration[RecycleBinItemItemRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class RecycleBinItemItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/items_request_builder.py b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/items_request_builder.py new file mode 100644 index 0000000000..ddbe727970 --- /dev/null +++ b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/items_request_builder.py @@ -0,0 +1,207 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .......models.recycle_bin_item import RecycleBinItem + from .......models.recycle_bin_item_collection_response import RecycleBinItemCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.recycle_bin_item_item_request_builder import RecycleBinItemItemRequestBuilder + +class ItemsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the items property of the microsoft.graph.recycleBin entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ItemsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_recycle_bin_item_id(self,recycle_bin_item_id: str) -> RecycleBinItemItemRequestBuilder: + """ + Provides operations to manage the items property of the microsoft.graph.recycleBin entity. + param recycle_bin_item_id: The unique identifier of recycleBinItem + Returns: RecycleBinItemItemRequestBuilder + """ + if recycle_bin_item_id is None: + raise TypeError("recycle_bin_item_id cannot be null.") + from .item.recycle_bin_item_item_request_builder import RecycleBinItemItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["recycleBinItem%2Did"] = recycle_bin_item_id + return RecycleBinItemItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[ItemsRequestBuilderGetQueryParameters]] = None) -> Optional[RecycleBinItemCollectionResponse]: + """ + List of the recycleBinItems deleted by a user. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RecycleBinItemCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.recycle_bin_item_collection_response import RecycleBinItemCollectionResponse + + return await self.request_adapter.send_async(request_info, RecycleBinItemCollectionResponse, error_mapping) + + async def post(self,body: RecycleBinItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RecycleBinItem]: + """ + Create new navigation property to items for storage + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RecycleBinItem] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.recycle_bin_item import RecycleBinItem + + return await self.request_adapter.send_async(request_info, RecycleBinItem, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ItemsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + List of the recycleBinItems deleted by a user. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: RecycleBinItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create new navigation property to items for storage + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> ItemsRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: ItemsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ItemsRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class ItemsRequestBuilderGetQueryParameters(): + """ + List of the recycleBinItems deleted by a user. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class ItemsRequestBuilderGetRequestConfiguration(RequestConfiguration[ItemsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class ItemsRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/containers/item/recycle_bin/last_modified_by_user/last_modified_by_user_request_builder.py b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/last_modified_by_user/last_modified_by_user_request_builder.py new file mode 100644 index 0000000000..bbdc345d5b --- /dev/null +++ b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/last_modified_by_user/last_modified_by_user_request_builder.py @@ -0,0 +1,126 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .......models.user import User + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + +class LastModifiedByUserRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new LastModifiedByUserRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[LastModifiedByUserRequestBuilderGetQueryParameters]] = None) -> Optional[User]: + """ + Identity of the user who last modified the item. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[User] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.user import User + + return await self.request_adapter.send_async(request_info, User, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[LastModifiedByUserRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Identity of the user who last modified the item. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> LastModifiedByUserRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: LastModifiedByUserRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return LastModifiedByUserRequestBuilder(self.request_adapter, raw_url) + + @property + def mailbox_settings(self) -> MailboxSettingsRequestBuilder: + """ + The mailboxSettings property + """ + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + + return MailboxSettingsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def service_provisioning_errors(self) -> ServiceProvisioningErrorsRequestBuilder: + """ + The serviceProvisioningErrors property + """ + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class LastModifiedByUserRequestBuilderGetQueryParameters(): + """ + Identity of the user who last modified the item. Read-only. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class LastModifiedByUserRequestBuilderGetRequestConfiguration(RequestConfiguration[LastModifiedByUserRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/containers/item/recycle_bin/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py new file mode 100644 index 0000000000..33c7648316 --- /dev/null +++ b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -0,0 +1,151 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.mailbox_settings import MailboxSettings + from ........models.o_data_errors.o_data_error import ODataError + +class MailboxSettingsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /storage/fileStorage/containers/{fileStorageContainer-id}/recycleBin/lastModifiedByUser/mailboxSettings + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new MailboxSettingsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser/mailboxSettings{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxSettings]: + """ + 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. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + async def patch(self,body: MailboxSettings, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MailboxSettings]: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + 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. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: MailboxSettings, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: MailboxSettingsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MailboxSettingsRequestBuilderGetQueryParameters(): + """ + 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. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class MailboxSettingsRequestBuilderGetRequestConfiguration(RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class MailboxSettingsRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py new file mode 100644 index 0000000000..509e281234 --- /dev/null +++ b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .........models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py new file mode 100644 index 0000000000..fb8a2b28d8 --- /dev/null +++ b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -0,0 +1,146 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + from .count.count_request_builder import CountRequestBuilder + +class ServiceProvisioningErrorsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /storage/fileStorage/containers/{fileStorageContainer-id}/recycleBin/lastModifiedByUser/serviceProvisioningErrors + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ServiceProvisioningErrorsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: + """ + 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). + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ServiceProvisioningErrorCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + + return await self.request_adapter.send_async(request_info, ServiceProvisioningErrorCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + 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). + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: ServiceProvisioningErrorsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): + """ + 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). + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration(RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/containers/item/recycle_bin/recycle_bin_request_builder.py b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/recycle_bin_request_builder.py new file mode 100644 index 0000000000..c5196a0211 --- /dev/null +++ b/msgraph/generated/storage/file_storage/containers/item/recycle_bin/recycle_bin_request_builder.py @@ -0,0 +1,217 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from ......models.recycle_bin import RecycleBin + from .created_by_user.created_by_user_request_builder import CreatedByUserRequestBuilder + from .items.items_request_builder import ItemsRequestBuilder + from .last_modified_by_user.last_modified_by_user_request_builder import LastModifiedByUserRequestBuilder + +class RecycleBinRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the recycleBin property of the microsoft.graph.fileStorageContainer entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new RecycleBinRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property recycleBin for storage + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[RecycleBinRequestBuilderGetQueryParameters]] = None) -> Optional[RecycleBin]: + """ + Recycle bin of the fileStorageContainer. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RecycleBin] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.recycle_bin import RecycleBin + + return await self.request_adapter.send_async(request_info, RecycleBin, error_mapping) + + async def patch(self,body: RecycleBin, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RecycleBin]: + """ + Update the navigation property recycleBin in storage + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RecycleBin] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.recycle_bin import RecycleBin + + return await self.request_adapter.send_async(request_info, RecycleBin, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property recycleBin for storage + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RecycleBinRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Recycle bin of the fileStorageContainer. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: RecycleBin, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property recycleBin in storage + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> RecycleBinRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: RecycleBinRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RecycleBinRequestBuilder(self.request_adapter, raw_url) + + @property + def created_by_user(self) -> CreatedByUserRequestBuilder: + """ + Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. + """ + from .created_by_user.created_by_user_request_builder import CreatedByUserRequestBuilder + + return CreatedByUserRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def items(self) -> ItemsRequestBuilder: + """ + Provides operations to manage the items property of the microsoft.graph.recycleBin entity. + """ + from .items.items_request_builder import ItemsRequestBuilder + + return ItemsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def last_modified_by_user(self) -> LastModifiedByUserRequestBuilder: + """ + Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. + """ + from .last_modified_by_user.last_modified_by_user_request_builder import LastModifiedByUserRequestBuilder + + return LastModifiedByUserRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class RecycleBinRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class RecycleBinRequestBuilderGetQueryParameters(): + """ + Recycle bin of the fileStorageContainer. Read-only. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class RecycleBinRequestBuilderGetRequestConfiguration(RequestConfiguration[RecycleBinRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class RecycleBinRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/containers/item/restore/restore_request_builder.py b/msgraph/generated/storage/file_storage/containers/item/restore/restore_request_builder.py new file mode 100644 index 0000000000..f562f1aa33 --- /dev/null +++ b/msgraph/generated/storage/file_storage/containers/item/restore/restore_request_builder.py @@ -0,0 +1,80 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.file_storage_container import FileStorageContainer + from ......models.o_data_errors.o_data_error import ODataError + +class RestoreRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the restore method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new RestoreRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/restore", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[FileStorageContainer]: + """ + Invoke action restore + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[FileStorageContainer] + """ + request_info = self.to_post_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.file_storage_container import FileStorageContainer + + return await self.request_adapter.send_async(request_info, FileStorageContainer, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action restore + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> RestoreRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: RestoreRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RestoreRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RestoreRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/containers/item/unlock/unlock_request_builder.py b/msgraph/generated/storage/file_storage/containers/item/unlock/unlock_request_builder.py new file mode 100644 index 0000000000..fd6a330450 --- /dev/null +++ b/msgraph/generated/storage/file_storage/containers/item/unlock/unlock_request_builder.py @@ -0,0 +1,77 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + +class UnlockRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the unlock method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new UnlockRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/unlock", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Invoke action unlock + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_post_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action unlock + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> UnlockRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: UnlockRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return UnlockRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class UnlockRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/count/count_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/count/count_request_builder.py new file mode 100644 index 0000000000..356b6b0fb9 --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/deleted_containers_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/deleted_containers_request_builder.py new file mode 100644 index 0000000000..fc0333a793 --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/deleted_containers_request_builder.py @@ -0,0 +1,207 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ....models.file_storage_container import FileStorageContainer + from ....models.file_storage_container_collection_response import FileStorageContainerCollectionResponse + from ....models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.file_storage_container_item_request_builder import FileStorageContainerItemRequestBuilder + +class DeletedContainersRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the deletedContainers property of the microsoft.graph.fileStorage entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new DeletedContainersRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_file_storage_container_id(self,file_storage_container_id: str) -> FileStorageContainerItemRequestBuilder: + """ + Provides operations to manage the deletedContainers property of the microsoft.graph.fileStorage entity. + param file_storage_container_id: The unique identifier of fileStorageContainer + Returns: FileStorageContainerItemRequestBuilder + """ + if file_storage_container_id is None: + raise TypeError("file_storage_container_id cannot be null.") + from .item.file_storage_container_item_request_builder import FileStorageContainerItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["fileStorageContainer%2Did"] = file_storage_container_id + return FileStorageContainerItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[DeletedContainersRequestBuilderGetQueryParameters]] = None) -> Optional[FileStorageContainerCollectionResponse]: + """ + Get deletedContainers from storage + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[FileStorageContainerCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.file_storage_container_collection_response import FileStorageContainerCollectionResponse + + return await self.request_adapter.send_async(request_info, FileStorageContainerCollectionResponse, error_mapping) + + async def post(self,body: FileStorageContainer, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[FileStorageContainer]: + """ + Create new navigation property to deletedContainers for storage + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[FileStorageContainer] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.file_storage_container import FileStorageContainer + + return await self.request_adapter.send_async(request_info, FileStorageContainer, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeletedContainersRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get deletedContainers from storage + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: FileStorageContainer, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create new navigation property to deletedContainers for storage + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> DeletedContainersRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: DeletedContainersRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return DeletedContainersRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class DeletedContainersRequestBuilderGetQueryParameters(): + """ + Get deletedContainers from storage + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class DeletedContainersRequestBuilderGetRequestConfiguration(RequestConfiguration[DeletedContainersRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class DeletedContainersRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/activate/activate_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/activate/activate_request_builder.py new file mode 100644 index 0000000000..c1a55cc4c4 --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/activate/activate_request_builder.py @@ -0,0 +1,77 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + +class ActivateRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the activate method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ActivateRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/activate", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Invoke action activate + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_post_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action activate + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> ActivateRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: ActivateRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ActivateRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ActivateRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/drive/drive_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/drive/drive_request_builder.py new file mode 100644 index 0000000000..75a57125b9 --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/drive/drive_request_builder.py @@ -0,0 +1,106 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.drive import Drive + from ......models.o_data_errors.o_data_error import ODataError + +class DriveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the drive property of the microsoft.graph.fileStorageContainer entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new DriveRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/drive{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[DriveRequestBuilderGetQueryParameters]] = None) -> Optional[Drive]: + """ + The drive of the resource fileStorageContainer. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[Drive] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.drive import Drive + + return await self.request_adapter.send_async(request_info, Drive, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DriveRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + The drive of the resource fileStorageContainer. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> DriveRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: DriveRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return DriveRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class DriveRequestBuilderGetQueryParameters(): + """ + The drive of the resource fileStorageContainer. Read-only. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class DriveRequestBuilderGetRequestConfiguration(RequestConfiguration[DriveRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/file_storage_container_item_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/file_storage_container_item_request_builder.py new file mode 100644 index 0000000000..9f64bcf857 --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/file_storage_container_item_request_builder.py @@ -0,0 +1,267 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.file_storage_container import FileStorageContainer + from .....models.o_data_errors.o_data_error import ODataError + from .activate.activate_request_builder import ActivateRequestBuilder + from .drive.drive_request_builder import DriveRequestBuilder + from .lock.lock_request_builder import LockRequestBuilder + from .permanent_delete.permanent_delete_request_builder import PermanentDeleteRequestBuilder + from .permissions.permissions_request_builder import PermissionsRequestBuilder + from .recycle_bin.recycle_bin_request_builder import RecycleBinRequestBuilder + from .restore.restore_request_builder import RestoreRequestBuilder + from .unlock.unlock_request_builder import UnlockRequestBuilder + +class FileStorageContainerItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the deletedContainers property of the microsoft.graph.fileStorage entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new FileStorageContainerItemRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property deletedContainers for storage + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[FileStorageContainerItemRequestBuilderGetQueryParameters]] = None) -> Optional[FileStorageContainer]: + """ + Get deletedContainers from storage + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[FileStorageContainer] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.file_storage_container import FileStorageContainer + + return await self.request_adapter.send_async(request_info, FileStorageContainer, error_mapping) + + async def patch(self,body: FileStorageContainer, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[FileStorageContainer]: + """ + Update the navigation property deletedContainers in storage + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[FileStorageContainer] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.file_storage_container import FileStorageContainer + + return await self.request_adapter.send_async(request_info, FileStorageContainer, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property deletedContainers for storage + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[FileStorageContainerItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get deletedContainers from storage + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: FileStorageContainer, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property deletedContainers in storage + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> FileStorageContainerItemRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: FileStorageContainerItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return FileStorageContainerItemRequestBuilder(self.request_adapter, raw_url) + + @property + def activate(self) -> ActivateRequestBuilder: + """ + Provides operations to call the activate method. + """ + from .activate.activate_request_builder import ActivateRequestBuilder + + return ActivateRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def drive(self) -> DriveRequestBuilder: + """ + Provides operations to manage the drive property of the microsoft.graph.fileStorageContainer entity. + """ + from .drive.drive_request_builder import DriveRequestBuilder + + return DriveRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def lock(self) -> LockRequestBuilder: + """ + Provides operations to call the lock method. + """ + from .lock.lock_request_builder import LockRequestBuilder + + return LockRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def permanent_delete(self) -> PermanentDeleteRequestBuilder: + """ + Provides operations to call the permanentDelete method. + """ + from .permanent_delete.permanent_delete_request_builder import PermanentDeleteRequestBuilder + + return PermanentDeleteRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def permissions(self) -> PermissionsRequestBuilder: + """ + Provides operations to manage the permissions property of the microsoft.graph.fileStorageContainer entity. + """ + from .permissions.permissions_request_builder import PermissionsRequestBuilder + + return PermissionsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def recycle_bin(self) -> RecycleBinRequestBuilder: + """ + Provides operations to manage the recycleBin property of the microsoft.graph.fileStorageContainer entity. + """ + from .recycle_bin.recycle_bin_request_builder import RecycleBinRequestBuilder + + return RecycleBinRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def restore(self) -> RestoreRequestBuilder: + """ + Provides operations to call the restore method. + """ + from .restore.restore_request_builder import RestoreRequestBuilder + + return RestoreRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def unlock(self) -> UnlockRequestBuilder: + """ + Provides operations to call the unlock method. + """ + from .unlock.unlock_request_builder import UnlockRequestBuilder + + return UnlockRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class FileStorageContainerItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class FileStorageContainerItemRequestBuilderGetQueryParameters(): + """ + Get deletedContainers from storage + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class FileStorageContainerItemRequestBuilderGetRequestConfiguration(RequestConfiguration[FileStorageContainerItemRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class FileStorageContainerItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/lock/lock_post_request_body.py b/msgraph/generated/storage/file_storage/deleted_containers/item/lock/lock_post_request_body.py new file mode 100644 index 0000000000..b49c860b58 --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/lock/lock_post_request_body.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.site_lock_state import SiteLockState + +@dataclass +class LockPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: Dict[str, Any] = field(default_factory=dict) + # The lockState property + lock_state: Optional[SiteLockState] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> LockPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: LockPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return LockPostRequestBody() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ......models.site_lock_state import SiteLockState + + from ......models.site_lock_state import SiteLockState + + fields: Dict[str, Callable[[Any], None]] = { + "lockState": lambda n : setattr(self, 'lock_state', n.get_enum_value(SiteLockState)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + from ......models.site_lock_state import SiteLockState + + writer.write_enum_value("lockState", self.lock_state) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/lock/lock_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/lock/lock_request_builder.py new file mode 100644 index 0000000000..8fd1fec3d6 --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/lock/lock_request_builder.py @@ -0,0 +1,85 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from .lock_post_request_body import LockPostRequestBody + +class LockRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the lock method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new LockRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/lock", path_parameters) + + async def post(self,body: LockPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Invoke action lock + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,body: LockPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action lock + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> LockRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: LockRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return LockRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class LockRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/permanent_delete/permanent_delete_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/permanent_delete/permanent_delete_request_builder.py new file mode 100644 index 0000000000..1dc35ccdd8 --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/permanent_delete/permanent_delete_request_builder.py @@ -0,0 +1,77 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + +class PermanentDeleteRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the permanentDelete method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new PermanentDeleteRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/permanentDelete", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Invoke action permanentDelete + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_post_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action permanentDelete + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> PermanentDeleteRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: PermanentDeleteRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return PermanentDeleteRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class PermanentDeleteRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/permissions/count/count_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/permissions/count/count_request_builder.py new file mode 100644 index 0000000000..fa5698d38f --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/permissions/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/permissions/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/permissions/item/grant/grant_post_request_body.py b/msgraph/generated/storage/file_storage/deleted_containers/item/permissions/item/grant/grant_post_request_body.py new file mode 100644 index 0000000000..938d3b0789 --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/permissions/item/grant/grant_post_request_body.py @@ -0,0 +1,62 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.drive_recipient import DriveRecipient + +@dataclass +class GrantPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: Dict[str, Any] = field(default_factory=dict) + # The recipients property + recipients: Optional[List[DriveRecipient]] = None + # The roles property + roles: Optional[List[str]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> GrantPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: GrantPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return GrantPostRequestBody() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ........models.drive_recipient import DriveRecipient + + from ........models.drive_recipient import DriveRecipient + + fields: Dict[str, Callable[[Any], None]] = { + "recipients": lambda n : setattr(self, 'recipients', n.get_collection_of_object_values(DriveRecipient)), + "roles": lambda n : setattr(self, 'roles', n.get_collection_of_primitive_values(str)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + from ........models.drive_recipient import DriveRecipient + + writer.write_collection_of_object_values("recipients", self.recipients) + writer.write_collection_of_primitive_values("roles", self.roles) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/permissions/item/grant/grant_post_response.py b/msgraph/generated/storage/file_storage/deleted_containers/item/permissions/item/grant/grant_post_response.py new file mode 100644 index 0000000000..d5676023f7 --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/permissions/item/grant/grant_post_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ........models.permission import Permission + +from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class GrantPostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[List[Permission]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> GrantPostResponse: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: GrantPostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return GrantPostResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ........models.permission import Permission + + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ........models.permission import Permission + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(Permission)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ........models.permission import Permission + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/permissions/item/grant/grant_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/permissions/item/grant/grant_request_builder.py new file mode 100644 index 0000000000..9a77df04ef --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/permissions/item/grant/grant_request_builder.py @@ -0,0 +1,89 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from .grant_post_request_body import GrantPostRequestBody + from .grant_post_response import GrantPostResponse + +class GrantRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the grant method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new GrantRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/permissions/{permission%2Did}/grant", path_parameters) + + async def post(self,body: GrantPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GrantPostResponse]: + """ + Grant users access to a link represented by a permission. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[GrantPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .grant_post_response import GrantPostResponse + + return await self.request_adapter.send_async(request_info, GrantPostResponse, error_mapping) + + def to_post_request_information(self,body: GrantPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Grant users access to a link represented by a permission. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> GrantRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: GrantRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return GrantRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class GrantRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/permissions/item/permission_item_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/permissions/item/permission_item_request_builder.py new file mode 100644 index 0000000000..ba65cfb2be --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/permissions/item/permission_item_request_builder.py @@ -0,0 +1,197 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .......models.permission import Permission + from .grant.grant_request_builder import GrantRequestBuilder + +class PermissionItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the permissions property of the microsoft.graph.fileStorageContainer entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new PermissionItemRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/permissions/{permission%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property permissions for storage + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[PermissionItemRequestBuilderGetQueryParameters]] = None) -> Optional[Permission]: + """ + 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. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[Permission] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.permission import Permission + + return await self.request_adapter.send_async(request_info, Permission, error_mapping) + + async def patch(self,body: Permission, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Permission]: + """ + Update the navigation property permissions in storage + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[Permission] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.permission import Permission + + return await self.request_adapter.send_async(request_info, Permission, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property permissions for storage + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[PermissionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + 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. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Permission, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property permissions in storage + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> PermissionItemRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: PermissionItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return PermissionItemRequestBuilder(self.request_adapter, raw_url) + + @property + def grant(self) -> GrantRequestBuilder: + """ + Provides operations to call the grant method. + """ + from .grant.grant_request_builder import GrantRequestBuilder + + return GrantRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class PermissionItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class PermissionItemRequestBuilderGetQueryParameters(): + """ + 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. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class PermissionItemRequestBuilderGetRequestConfiguration(RequestConfiguration[PermissionItemRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class PermissionItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/permissions/permissions_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/permissions/permissions_request_builder.py new file mode 100644 index 0000000000..61860b4907 --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/permissions/permissions_request_builder.py @@ -0,0 +1,207 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from ......models.permission import Permission + from ......models.permission_collection_response import PermissionCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.permission_item_request_builder import PermissionItemRequestBuilder + +class PermissionsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the permissions property of the microsoft.graph.fileStorageContainer entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new PermissionsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/permissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_permission_id(self,permission_id: str) -> PermissionItemRequestBuilder: + """ + Provides operations to manage the permissions property of the microsoft.graph.fileStorageContainer entity. + param permission_id: The unique identifier of permission + Returns: PermissionItemRequestBuilder + """ + if permission_id is None: + raise TypeError("permission_id cannot be null.") + from .item.permission_item_request_builder import PermissionItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["permission%2Did"] = permission_id + return PermissionItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[PermissionsRequestBuilderGetQueryParameters]] = None) -> Optional[PermissionCollectionResponse]: + """ + 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. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[PermissionCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.permission_collection_response import PermissionCollectionResponse + + return await self.request_adapter.send_async(request_info, PermissionCollectionResponse, error_mapping) + + async def post(self,body: Permission, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Permission]: + """ + Create new navigation property to permissions for storage + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[Permission] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.permission import Permission + + return await self.request_adapter.send_async(request_info, Permission, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[PermissionsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + 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. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Permission, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create new navigation property to permissions for storage + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> PermissionsRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: PermissionsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return PermissionsRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class PermissionsRequestBuilderGetQueryParameters(): + """ + 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. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class PermissionsRequestBuilderGetRequestConfiguration(RequestConfiguration[PermissionsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class PermissionsRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/created_by_user/created_by_user_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/created_by_user/created_by_user_request_builder.py new file mode 100644 index 0000000000..0f8a7bd130 --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/created_by_user/created_by_user_request_builder.py @@ -0,0 +1,126 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .......models.user import User + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + +class CreatedByUserRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CreatedByUserRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/createdByUser{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CreatedByUserRequestBuilderGetQueryParameters]] = None) -> Optional[User]: + """ + Identity of the user who created the item. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[User] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.user import User + + return await self.request_adapter.send_async(request_info, User, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CreatedByUserRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Identity of the user who created the item. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> CreatedByUserRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CreatedByUserRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CreatedByUserRequestBuilder(self.request_adapter, raw_url) + + @property + def mailbox_settings(self) -> MailboxSettingsRequestBuilder: + """ + The mailboxSettings property + """ + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + + return MailboxSettingsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def service_provisioning_errors(self) -> ServiceProvisioningErrorsRequestBuilder: + """ + The serviceProvisioningErrors property + """ + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class CreatedByUserRequestBuilderGetQueryParameters(): + """ + Identity of the user who created the item. Read-only. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class CreatedByUserRequestBuilderGetRequestConfiguration(RequestConfiguration[CreatedByUserRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/created_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/created_by_user/mailbox_settings/mailbox_settings_request_builder.py new file mode 100644 index 0000000000..e769057f53 --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/created_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -0,0 +1,151 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.mailbox_settings import MailboxSettings + from ........models.o_data_errors.o_data_error import ODataError + +class MailboxSettingsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /storage/fileStorage/deletedContainers/{fileStorageContainer-id}/recycleBin/createdByUser/mailboxSettings + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new MailboxSettingsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/createdByUser/mailboxSettings{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxSettings]: + """ + 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. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + async def patch(self,body: MailboxSettings, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MailboxSettings]: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + 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. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: MailboxSettings, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: MailboxSettingsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MailboxSettingsRequestBuilderGetQueryParameters(): + """ + 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. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class MailboxSettingsRequestBuilderGetRequestConfiguration(RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class MailboxSettingsRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/created_by_user/service_provisioning_errors/count/count_request_builder.py new file mode 100644 index 0000000000..d814186292 --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .........models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/createdByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py new file mode 100644 index 0000000000..1cc065b963 --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -0,0 +1,146 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + from .count.count_request_builder import CountRequestBuilder + +class ServiceProvisioningErrorsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /storage/fileStorage/deletedContainers/{fileStorageContainer-id}/recycleBin/createdByUser/serviceProvisioningErrors + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ServiceProvisioningErrorsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/createdByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: + """ + 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). + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ServiceProvisioningErrorCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + + return await self.request_adapter.send_async(request_info, ServiceProvisioningErrorCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + 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). + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: ServiceProvisioningErrorsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): + """ + 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). + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration(RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/count/count_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/count/count_request_builder.py new file mode 100644 index 0000000000..61916e390a --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/created_by_user/created_by_user_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/created_by_user/created_by_user_request_builder.py new file mode 100644 index 0000000000..78993ab74e --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/created_by_user/created_by_user_request_builder.py @@ -0,0 +1,126 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .........models.o_data_errors.o_data_error import ODataError + from .........models.user import User + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + +class CreatedByUserRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CreatedByUserRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CreatedByUserRequestBuilderGetQueryParameters]] = None) -> Optional[User]: + """ + Identity of the user who created the item. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[User] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.user import User + + return await self.request_adapter.send_async(request_info, User, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CreatedByUserRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Identity of the user who created the item. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> CreatedByUserRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CreatedByUserRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CreatedByUserRequestBuilder(self.request_adapter, raw_url) + + @property + def mailbox_settings(self) -> MailboxSettingsRequestBuilder: + """ + The mailboxSettings property + """ + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + + return MailboxSettingsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def service_provisioning_errors(self) -> ServiceProvisioningErrorsRequestBuilder: + """ + The serviceProvisioningErrors property + """ + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class CreatedByUserRequestBuilderGetQueryParameters(): + """ + Identity of the user who created the item. Read-only. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class CreatedByUserRequestBuilderGetRequestConfiguration(RequestConfiguration[CreatedByUserRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py new file mode 100644 index 0000000000..36c46329d7 --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -0,0 +1,151 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ..........models.mailbox_settings import MailboxSettings + from ..........models.o_data_errors.o_data_error import ODataError + +class MailboxSettingsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /storage/fileStorage/deletedContainers/{fileStorageContainer-id}/recycleBin/items/{recycleBinItem-id}/createdByUser/mailboxSettings + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new MailboxSettingsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser/mailboxSettings{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxSettings]: + """ + 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. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + async def patch(self,body: MailboxSettings, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MailboxSettings]: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + 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. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: MailboxSettings, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: MailboxSettingsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MailboxSettingsRequestBuilderGetQueryParameters(): + """ + 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. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class MailboxSettingsRequestBuilderGetRequestConfiguration(RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class MailboxSettingsRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py new file mode 100644 index 0000000000..19f65a8937 --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ...........models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py new file mode 100644 index 0000000000..284d5ff70c --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -0,0 +1,146 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ..........models.o_data_errors.o_data_error import ODataError + from ..........models.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + from .count.count_request_builder import CountRequestBuilder + +class ServiceProvisioningErrorsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /storage/fileStorage/deletedContainers/{fileStorageContainer-id}/recycleBin/items/{recycleBinItem-id}/createdByUser/serviceProvisioningErrors + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ServiceProvisioningErrorsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: + """ + 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). + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ServiceProvisioningErrorCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + + return await self.request_adapter.send_async(request_info, ServiceProvisioningErrorCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + 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). + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: ServiceProvisioningErrorsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): + """ + 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). + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration(RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/last_modified_by_user/last_modified_by_user_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/last_modified_by_user/last_modified_by_user_request_builder.py new file mode 100644 index 0000000000..8f772c28c7 --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/last_modified_by_user/last_modified_by_user_request_builder.py @@ -0,0 +1,126 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .........models.o_data_errors.o_data_error import ODataError + from .........models.user import User + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + +class LastModifiedByUserRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new LastModifiedByUserRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[LastModifiedByUserRequestBuilderGetQueryParameters]] = None) -> Optional[User]: + """ + Identity of the user who last modified the item. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[User] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.user import User + + return await self.request_adapter.send_async(request_info, User, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[LastModifiedByUserRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Identity of the user who last modified the item. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> LastModifiedByUserRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: LastModifiedByUserRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return LastModifiedByUserRequestBuilder(self.request_adapter, raw_url) + + @property + def mailbox_settings(self) -> MailboxSettingsRequestBuilder: + """ + The mailboxSettings property + """ + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + + return MailboxSettingsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def service_provisioning_errors(self) -> ServiceProvisioningErrorsRequestBuilder: + """ + The serviceProvisioningErrors property + """ + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class LastModifiedByUserRequestBuilderGetQueryParameters(): + """ + Identity of the user who last modified the item. Read-only. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class LastModifiedByUserRequestBuilderGetRequestConfiguration(RequestConfiguration[LastModifiedByUserRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py new file mode 100644 index 0000000000..085ee62bb7 --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -0,0 +1,151 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ..........models.mailbox_settings import MailboxSettings + from ..........models.o_data_errors.o_data_error import ODataError + +class MailboxSettingsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /storage/fileStorage/deletedContainers/{fileStorageContainer-id}/recycleBin/items/{recycleBinItem-id}/lastModifiedByUser/mailboxSettings + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new MailboxSettingsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser/mailboxSettings{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxSettings]: + """ + 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. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + async def patch(self,body: MailboxSettings, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MailboxSettings]: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + 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. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: MailboxSettings, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: MailboxSettingsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MailboxSettingsRequestBuilderGetQueryParameters(): + """ + 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. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class MailboxSettingsRequestBuilderGetRequestConfiguration(RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class MailboxSettingsRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py new file mode 100644 index 0000000000..7a46198a5f --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ...........models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py new file mode 100644 index 0000000000..61d4d6e98e --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -0,0 +1,146 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ..........models.o_data_errors.o_data_error import ODataError + from ..........models.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + from .count.count_request_builder import CountRequestBuilder + +class ServiceProvisioningErrorsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /storage/fileStorage/deletedContainers/{fileStorageContainer-id}/recycleBin/items/{recycleBinItem-id}/lastModifiedByUser/serviceProvisioningErrors + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ServiceProvisioningErrorsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: + """ + 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). + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ServiceProvisioningErrorCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + + return await self.request_adapter.send_async(request_info, ServiceProvisioningErrorCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + 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). + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: ServiceProvisioningErrorsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): + """ + 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). + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration(RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/recycle_bin_item_item_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/recycle_bin_item_item_request_builder.py new file mode 100644 index 0000000000..fa59543fbe --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/recycle_bin_item_item_request_builder.py @@ -0,0 +1,207 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.recycle_bin_item import RecycleBinItem + from .created_by_user.created_by_user_request_builder import CreatedByUserRequestBuilder + from .last_modified_by_user.last_modified_by_user_request_builder import LastModifiedByUserRequestBuilder + +class RecycleBinItemItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the items property of the microsoft.graph.recycleBin entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new RecycleBinItemItemRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property items for storage + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[RecycleBinItemItemRequestBuilderGetQueryParameters]] = None) -> Optional[RecycleBinItem]: + """ + List of the recycleBinItems deleted by a user. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RecycleBinItem] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.recycle_bin_item import RecycleBinItem + + return await self.request_adapter.send_async(request_info, RecycleBinItem, error_mapping) + + async def patch(self,body: RecycleBinItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RecycleBinItem]: + """ + Update the navigation property items in storage + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RecycleBinItem] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.recycle_bin_item import RecycleBinItem + + return await self.request_adapter.send_async(request_info, RecycleBinItem, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property items for storage + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RecycleBinItemItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + List of the recycleBinItems deleted by a user. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: RecycleBinItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property items in storage + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> RecycleBinItemItemRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: RecycleBinItemItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RecycleBinItemItemRequestBuilder(self.request_adapter, raw_url) + + @property + def created_by_user(self) -> CreatedByUserRequestBuilder: + """ + Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. + """ + from .created_by_user.created_by_user_request_builder import CreatedByUserRequestBuilder + + return CreatedByUserRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def last_modified_by_user(self) -> LastModifiedByUserRequestBuilder: + """ + Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. + """ + from .last_modified_by_user.last_modified_by_user_request_builder import LastModifiedByUserRequestBuilder + + return LastModifiedByUserRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class RecycleBinItemItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class RecycleBinItemItemRequestBuilderGetQueryParameters(): + """ + List of the recycleBinItems deleted by a user. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class RecycleBinItemItemRequestBuilderGetRequestConfiguration(RequestConfiguration[RecycleBinItemItemRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class RecycleBinItemItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/items_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/items_request_builder.py new file mode 100644 index 0000000000..c4c89d66fc --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/items_request_builder.py @@ -0,0 +1,207 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .......models.recycle_bin_item import RecycleBinItem + from .......models.recycle_bin_item_collection_response import RecycleBinItemCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.recycle_bin_item_item_request_builder import RecycleBinItemItemRequestBuilder + +class ItemsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the items property of the microsoft.graph.recycleBin entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ItemsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_recycle_bin_item_id(self,recycle_bin_item_id: str) -> RecycleBinItemItemRequestBuilder: + """ + Provides operations to manage the items property of the microsoft.graph.recycleBin entity. + param recycle_bin_item_id: The unique identifier of recycleBinItem + Returns: RecycleBinItemItemRequestBuilder + """ + if recycle_bin_item_id is None: + raise TypeError("recycle_bin_item_id cannot be null.") + from .item.recycle_bin_item_item_request_builder import RecycleBinItemItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["recycleBinItem%2Did"] = recycle_bin_item_id + return RecycleBinItemItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[ItemsRequestBuilderGetQueryParameters]] = None) -> Optional[RecycleBinItemCollectionResponse]: + """ + List of the recycleBinItems deleted by a user. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RecycleBinItemCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.recycle_bin_item_collection_response import RecycleBinItemCollectionResponse + + return await self.request_adapter.send_async(request_info, RecycleBinItemCollectionResponse, error_mapping) + + async def post(self,body: RecycleBinItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RecycleBinItem]: + """ + Create new navigation property to items for storage + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RecycleBinItem] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.recycle_bin_item import RecycleBinItem + + return await self.request_adapter.send_async(request_info, RecycleBinItem, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ItemsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + List of the recycleBinItems deleted by a user. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: RecycleBinItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create new navigation property to items for storage + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> ItemsRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: ItemsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ItemsRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class ItemsRequestBuilderGetQueryParameters(): + """ + List of the recycleBinItems deleted by a user. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class ItemsRequestBuilderGetRequestConfiguration(RequestConfiguration[ItemsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class ItemsRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/last_modified_by_user/last_modified_by_user_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/last_modified_by_user/last_modified_by_user_request_builder.py new file mode 100644 index 0000000000..0d0a9da1f5 --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/last_modified_by_user/last_modified_by_user_request_builder.py @@ -0,0 +1,126 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .......models.user import User + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + +class LastModifiedByUserRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new LastModifiedByUserRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[LastModifiedByUserRequestBuilderGetQueryParameters]] = None) -> Optional[User]: + """ + Identity of the user who last modified the item. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[User] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.user import User + + return await self.request_adapter.send_async(request_info, User, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[LastModifiedByUserRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Identity of the user who last modified the item. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> LastModifiedByUserRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: LastModifiedByUserRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return LastModifiedByUserRequestBuilder(self.request_adapter, raw_url) + + @property + def mailbox_settings(self) -> MailboxSettingsRequestBuilder: + """ + The mailboxSettings property + """ + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + + return MailboxSettingsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def service_provisioning_errors(self) -> ServiceProvisioningErrorsRequestBuilder: + """ + The serviceProvisioningErrors property + """ + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class LastModifiedByUserRequestBuilderGetQueryParameters(): + """ + Identity of the user who last modified the item. Read-only. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class LastModifiedByUserRequestBuilderGetRequestConfiguration(RequestConfiguration[LastModifiedByUserRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py new file mode 100644 index 0000000000..8de9ba1d92 --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -0,0 +1,151 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.mailbox_settings import MailboxSettings + from ........models.o_data_errors.o_data_error import ODataError + +class MailboxSettingsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /storage/fileStorage/deletedContainers/{fileStorageContainer-id}/recycleBin/lastModifiedByUser/mailboxSettings + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new MailboxSettingsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser/mailboxSettings{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxSettings]: + """ + 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. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + async def patch(self,body: MailboxSettings, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MailboxSettings]: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + 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. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: MailboxSettings, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: MailboxSettingsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MailboxSettingsRequestBuilderGetQueryParameters(): + """ + 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. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class MailboxSettingsRequestBuilderGetRequestConfiguration(RequestConfiguration[MailboxSettingsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class MailboxSettingsRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py new file mode 100644 index 0000000000..2055bf4ad8 --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .........models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py new file mode 100644 index 0000000000..72b3eb007e --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -0,0 +1,146 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + from .count.count_request_builder import CountRequestBuilder + +class ServiceProvisioningErrorsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /storage/fileStorage/deletedContainers/{fileStorageContainer-id}/recycleBin/lastModifiedByUser/serviceProvisioningErrors + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new ServiceProvisioningErrorsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: + """ + 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). + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ServiceProvisioningErrorCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + + return await self.request_adapter.send_async(request_info, ServiceProvisioningErrorCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + 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). + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: ServiceProvisioningErrorsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): + """ + 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). + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration(RequestConfiguration[ServiceProvisioningErrorsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/recycle_bin_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/recycle_bin_request_builder.py new file mode 100644 index 0000000000..7c76c6a83b --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/recycle_bin_request_builder.py @@ -0,0 +1,217 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from ......models.recycle_bin import RecycleBin + from .created_by_user.created_by_user_request_builder import CreatedByUserRequestBuilder + from .items.items_request_builder import ItemsRequestBuilder + from .last_modified_by_user.last_modified_by_user_request_builder import LastModifiedByUserRequestBuilder + +class RecycleBinRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the recycleBin property of the microsoft.graph.fileStorageContainer entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new RecycleBinRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property recycleBin for storage + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[RecycleBinRequestBuilderGetQueryParameters]] = None) -> Optional[RecycleBin]: + """ + Recycle bin of the fileStorageContainer. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RecycleBin] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.recycle_bin import RecycleBin + + return await self.request_adapter.send_async(request_info, RecycleBin, error_mapping) + + async def patch(self,body: RecycleBin, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RecycleBin]: + """ + Update the navigation property recycleBin in storage + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RecycleBin] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.recycle_bin import RecycleBin + + return await self.request_adapter.send_async(request_info, RecycleBin, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property recycleBin for storage + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RecycleBinRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Recycle bin of the fileStorageContainer. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: RecycleBin, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property recycleBin in storage + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> RecycleBinRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: RecycleBinRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RecycleBinRequestBuilder(self.request_adapter, raw_url) + + @property + def created_by_user(self) -> CreatedByUserRequestBuilder: + """ + Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. + """ + from .created_by_user.created_by_user_request_builder import CreatedByUserRequestBuilder + + return CreatedByUserRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def items(self) -> ItemsRequestBuilder: + """ + Provides operations to manage the items property of the microsoft.graph.recycleBin entity. + """ + from .items.items_request_builder import ItemsRequestBuilder + + return ItemsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def last_modified_by_user(self) -> LastModifiedByUserRequestBuilder: + """ + Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. + """ + from .last_modified_by_user.last_modified_by_user_request_builder import LastModifiedByUserRequestBuilder + + return LastModifiedByUserRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class RecycleBinRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class RecycleBinRequestBuilderGetQueryParameters(): + """ + Recycle bin of the fileStorageContainer. Read-only. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class RecycleBinRequestBuilderGetRequestConfiguration(RequestConfiguration[RecycleBinRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class RecycleBinRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/restore/restore_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/restore/restore_request_builder.py new file mode 100644 index 0000000000..02e1d319ff --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/restore/restore_request_builder.py @@ -0,0 +1,80 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.file_storage_container import FileStorageContainer + from ......models.o_data_errors.o_data_error import ODataError + +class RestoreRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the restore method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new RestoreRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/restore", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[FileStorageContainer]: + """ + Invoke action restore + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[FileStorageContainer] + """ + request_info = self.to_post_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.file_storage_container import FileStorageContainer + + return await self.request_adapter.send_async(request_info, FileStorageContainer, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action restore + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> RestoreRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: RestoreRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RestoreRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RestoreRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/deleted_containers/item/unlock/unlock_request_builder.py b/msgraph/generated/storage/file_storage/deleted_containers/item/unlock/unlock_request_builder.py new file mode 100644 index 0000000000..0a0604df50 --- /dev/null +++ b/msgraph/generated/storage/file_storage/deleted_containers/item/unlock/unlock_request_builder.py @@ -0,0 +1,77 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + +class UnlockRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the unlock method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new UnlockRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/unlock", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Invoke action unlock + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_post_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action unlock + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> UnlockRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: UnlockRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return UnlockRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class UnlockRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph/generated/storage/file_storage/file_storage_request_builder.py b/msgraph/generated/storage/file_storage/file_storage_request_builder.py index 48be9a0067..e084b6b34c 100644 --- a/msgraph/generated/storage/file_storage/file_storage_request_builder.py +++ b/msgraph/generated/storage/file_storage/file_storage_request_builder.py @@ -16,6 +16,7 @@ from ...models.file_storage import FileStorage from ...models.o_data_errors.o_data_error import ODataError from .containers.containers_request_builder import ContainersRequestBuilder + from .deleted_containers.deleted_containers_request_builder import DeletedContainersRequestBuilder class FileStorageRequestBuilder(BaseRequestBuilder): """ @@ -147,6 +148,15 @@ def containers(self) -> ContainersRequestBuilder: return ContainersRequestBuilder(self.request_adapter, self.path_parameters) + @property + def deleted_containers(self) -> DeletedContainersRequestBuilder: + """ + Provides operations to manage the deletedContainers property of the microsoft.graph.fileStorage entity. + """ + from .deleted_containers.deleted_containers_request_builder import DeletedContainersRequestBuilder + + return DeletedContainersRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class FileStorageRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): """ diff --git a/msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py b/msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py index b07f4d1401..81fad4ac72 100644 --- a/msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py +++ b/msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Conversa async def patch(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]: """ - 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. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] - Find more info here: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - 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. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/teams/item/channels/item/messages/item/replies/replies_request_builder.py b/msgraph/generated/teams/item/channels/item/messages/item/replies/replies_request_builder.py index 2c4e885afc..24ede89989 100644 --- a/msgraph/generated/teams/item/channels/item/messages/item/replies/replies_request_builder.py +++ b/msgraph/generated/teams/item/channels/item/messages/item/replies/replies_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RepliesR async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Send a new reply to a chatMessage in a specified channel. + Create a new reply to a chatMessage in a specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] - Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Send a new reply to a chatMessage in a specified channel. + Create a new reply to a chatMessage in a specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py b/msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py index a4e0dcaadd..b4cc975b64 100644 --- a/msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py +++ b/msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py @@ -54,11 +54,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MultiTen async def patch(self,body: MultiTenantOrganization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MultiTenantOrganization]: """ - Create a new multitenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multitenant organization. + Update the properties of a multitenant organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MultiTenantOrganization] - Find more info here: https://learn.microsoft.com/graph/api/tenantrelationship-put-multitenantorganization?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/multitenantorganization-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -89,7 +89,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: MultiTenantOrganization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new multitenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multitenant organization. + Update the properties of a multitenant organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/users/item/presence/presence_request_builder.py b/msgraph/generated/users/item/presence/presence_request_builder.py index b61915616e..73f9ae71d3 100644 --- a/msgraph/generated/users/item/presence/presence_request_builder.py +++ b/msgraph/generated/users/item/presence/presence_request_builder.py @@ -54,10 +54,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[PresenceRequestBuilderGetQueryParameters]] = None) -> Optional[Presence]: """ - Get a user's presence information. + Set a presence status message for a user. An optional expiration date and time can be supplied. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Presence] - Find more info here: https://learn.microsoft.com/graph/api/presence-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[PresenceRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get a user's presence information. + Set a presence status message for a user. An optional expiration date and time can be supplied. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -198,7 +198,7 @@ class PresenceRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Quer @dataclass class PresenceRequestBuilderGetQueryParameters(): """ - Get a user's presence information. + Set a presence status message for a user. An optional expiration date and time can be supplied. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/users/item/user_item_request_builder.py b/msgraph/generated/users/item/user_item_request_builder.py index c12d375597..bbc7a82d55 100644 --- a/msgraph/generated/users/item/user_item_request_builder.py +++ b/msgraph/generated/users/item/user_item_request_builder.py @@ -144,7 +144,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UserItem Read properties and relationships of the user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-user-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -166,7 +166,7 @@ async def patch(self,body: User, request_configuration: Optional[RequestConfigur param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/users/users_request_builder.py b/msgraph/generated/users/users_request_builder.py index a8cdb4501c..256b49574e 100644 --- a/msgraph/generated/users/users_request_builder.py +++ b/msgraph/generated/users/users_request_builder.py @@ -52,10 +52,10 @@ def by_user_id(self,user_id: str) -> UserItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[UsersRequestBuilderGetQueryParameters]] = None) -> Optional[UserCollectionResponse]: """ - List properties and relationships of the user objects. + Retrieve a list of user objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/user-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -73,11 +73,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UsersReq async def post(self,body: User, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[User]: """ - 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. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] - Find more info here: https://learn.microsoft.com/graph/api/user-post-users?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-user-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -97,7 +97,7 @@ async def post(self,body: User, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UsersRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the user objects. + Retrieve a list of user objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,7 +108,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: User, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - 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. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -179,7 +179,7 @@ def validate_properties(self) -> ValidatePropertiesRequestBuilder: @dataclass class UsersRequestBuilderGetQueryParameters(): """ - List properties and relationships of the user objects. + Retrieve a list of user objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py b/msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py index 09563d5df4..3bddc8ecdc 100644 --- a/msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py +++ b/msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py @@ -56,7 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UsersWit Read properties and relationships of the user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-user-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -78,7 +78,7 @@ async def patch(self,body: User, request_configuration: Optional[RequestConfigur param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.")