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 87e7c940a85..263e64b5237 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 @@ -50,7 +50,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-onboarding-deviceappmanagement-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-unlock-deviceappmanagement-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -72,7 +72,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-onboarding-deviceappmanagement-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-unlock-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 c90cc0e82d1..08b2905dfea 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 @@ -51,10 +51,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 managedAppPolicy 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-managedapppolicy-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 managedAppPolicy 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 managedAppPolicy object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py b/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py index 55a8c036407..958930a3ae3 100644 --- a/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py @@ -36,7 +36,7 @@ async def post(self,body: TargetAppsPostRequestBody, request_configuration: Opti param body: The request body 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-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?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/managed_app_policies_request_builder.py b/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py index 96f0898f810..d37fff44ce1 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 @@ -49,10 +49,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 managedAppProtection 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-managedappprotection-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 @@ -93,7 +93,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 managedAppProtection 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 """ @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ManagedAppPoliciesRequestBuilderGetQueryParameters(): """ - List properties and relationships of the managedAppProtection 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/applied_policies/item/target_apps/target_apps_request_builder.py b/msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py index ca65e4064bd..f9ff09fd3f2 100644 --- a/msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py @@ -36,7 +36,7 @@ async def post(self,body: TargetAppsPostRequestBody, request_configuration: Opti param body: The request body 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-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?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_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py b/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py index be8c59ab2a5..627ee2700de 100644 --- a/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py @@ -36,7 +36,7 @@ async def post(self,body: TargetAppsPostRequestBody, request_configuration: Opti param body: The request body 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-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") 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 be0cd9fd364..13a0f782fd8 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 @@ -49,10 +49,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 @@ -94,7 +94,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 """ @@ -140,7 +140,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 235500b6f66..9708ca5675f 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 @@ -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 managedEBookAssignment. + Deletes a iosVppEBookAssignment. 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-books-managedebookassignment-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -96,7 +96,7 @@ async def patch(self,body: ManagedEBookAssignment, request_configuration: Option def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a managedEBookAssignment. + Deletes a iosVppEBookAssignment. 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/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 95f1fb3ba0d..a9bab0b78ce 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 @@ -49,10 +49,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 @@ -94,7 +94,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 """ @@ -140,7 +140,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 24d0844133d..66eaafe33ed 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 @@ -51,10 +51,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 windowsWebApp. + Deletes a macOSMicrosoftEdgeApp. 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-windowswebapp-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-macosmicrosoftedgeapp-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -70,10 +70,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 windowsAppX object. + Read properties and relationships of the iosiPadOSWebClip 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-windowsappx-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-iosipadoswebclip-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -91,11 +91,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 webApp object. + Update the properties of a macOSMicrosoftEdgeApp 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-webapp-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-macosmicrosoftedgeapp-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -115,7 +115,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 windowsWebApp. + Deletes a macOSMicrosoftEdgeApp. 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 windowsAppX object. + Read properties and relationships of the iosiPadOSWebClip 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 webApp object. + Update the properties of a macOSMicrosoftEdgeApp 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 windowsAppX object. + Read properties and relationships of the iosiPadOSWebClip 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 57f6fd2b643..42ab1047ab7 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 @@ -65,10 +65,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 iosStoreApp objects. + List properties and relationships of the macOSOfficeSuiteApp 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-iosstoreapp-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-macosofficesuiteapp-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -110,7 +110,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 iosStoreApp objects. + List properties and relationships of the macOSOfficeSuiteApp objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -300,7 +300,7 @@ def graph_windows_web_app(self) -> GraphWindowsWebAppRequestBuilder: @dataclass class MobileAppsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the iosStoreApp objects. + List properties and relationships of the macOSOfficeSuiteApp 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 8e57a6b68d0..d25f88329b8 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 @@ -49,10 +49,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 androidWorkProfileCompliancePolicy objects. + List properties and relationships of the deviceCompliancePolicy 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-androidworkprofilecompliancepolicy-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancepolicy-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -70,11 +70,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 windows10MobileCompliancePolicy 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-windows10mobilecompliancepolicy-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -94,7 +94,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 androidWorkProfileCompliancePolicy objects. + List properties and relationships of the deviceCompliancePolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,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 windows10MobileCompliancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -140,7 +140,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DeviceCompliancePoliciesRequestBuilderGetQueryParameters(): """ - List properties and relationships of the androidWorkProfileCompliancePolicy objects. + List properties and relationships of the deviceCompliancePolicy 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 963a5566faa..efaca483e23 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 @@ -41,10 +41,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 windows10CompliancePolicy. + Deletes a iosCompliancePolicy. 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-deviceconfig-windows10compliancepolicy-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -60,10 +60,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 androidWorkProfileCompliancePolicy object. + Read properties and relationships of the androidCompliancePolicy 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-androidworkprofilecompliancepolicy-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcompliancepolicy-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -81,11 +81,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 androidWorkProfileCompliancePolicy object. + Update the properties of a 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-androidworkprofilecompliancepolicy-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcompliancepolicy-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -105,7 +105,7 @@ async def patch(self,body: DeviceCompliancePolicy, request_configuration: Option def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a windows10CompliancePolicy. + Deletes a iosCompliancePolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -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 androidWorkProfileCompliancePolicy object. + Read properties and relationships of the androidCompliancePolicy 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 androidWorkProfileCompliancePolicy object. + Update the properties of a androidCompliancePolicy 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 androidWorkProfileCompliancePolicy object. + Read properties and relationships of the androidCompliancePolicy 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 5e998c25d63..2d3e7d0f814 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 @@ -49,10 +49,10 @@ def by_device_configuration_id(self,device_configuration_id: str) -> DeviceConfi async def get(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationsRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceConfigurationCollectionResponse]: """ - List properties and relationships of the androidWorkProfileGeneralDeviceConfiguration objects. + List properties and relationships of the windows10GeneralConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfigurationCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilegeneraldeviceconfiguration-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10generalconfiguration-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -70,11 +70,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 windowsDefenderAdvancedThreatProtectionConfiguration object. + Create a new windows10EndpointProtectionConfiguration 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-windowsdefenderadvancedthreatprotectionconfiguration-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10endpointprotectionconfiguration-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -94,7 +94,7 @@ async def post(self,body: DeviceConfiguration, request_configuration: Optional[R def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the androidWorkProfileGeneralDeviceConfiguration objects. + List properties and relationships of the windows10GeneralConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,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 windowsDefenderAdvancedThreatProtectionConfiguration object. + Create a new windows10EndpointProtectionConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -140,7 +140,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DeviceConfigurationsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the androidWorkProfileGeneralDeviceConfiguration objects. + List properties and relationships of the windows10GeneralConfiguration objects. """ def get_query_parameter(self,original_name: str) -> str: """ 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 8b010b665e4..3516b96b7dd 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 @@ -40,10 +40,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 macOSGeneralDeviceConfiguration. + Deletes a windows10CustomConfiguration. 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-deviceconfig-macosgeneraldeviceconfiguration-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10customconfiguration-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -59,10 +59,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 windowsUpdateForBusinessConfiguration object. + Read properties and relationships of the windows10CustomConfiguration 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-windowsupdateforbusinessconfiguration-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10customconfiguration-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -92,11 +92,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 windows10SecureAssessmentConfiguration object. + Update the properties of a editionUpgradeConfiguration 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-windows10secureassessmentconfiguration-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-editionupgradeconfiguration-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -116,7 +116,7 @@ async def patch(self,body: DeviceConfiguration, request_configuration: Optional[ def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a macOSGeneralDeviceConfiguration. + Deletes a windows10CustomConfiguration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -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 windowsUpdateForBusinessConfiguration object. + Read properties and relationships of the windows10CustomConfiguration 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 windows10SecureAssessmentConfiguration object. + Update the properties of a editionUpgradeConfiguration 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 windowsUpdateForBusinessConfiguration object. + Read properties and relationships of the windows10CustomConfiguration 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 0b38c8020d2..a78cc855483 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 @@ -49,10 +49,10 @@ def by_device_enrollment_configuration_id(self,device_enrollment_configuration_i async def get(self,request_configuration: Optional[RequestConfiguration[DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceEnrollmentConfigurationCollectionResponse]: """ - List properties and relationships of the deviceEnrollmentLimitConfiguration objects. + List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceEnrollmentConfigurationCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -70,11 +70,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 deviceEnrollmentPlatformRestrictionsConfiguration object. + Create a new deviceEnrollmentLimitConfiguration 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-deviceenrollmentplatformrestrictionsconfiguration-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -94,7 +94,7 @@ async def post(self,body: DeviceEnrollmentConfiguration, request_configuration: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the deviceEnrollmentLimitConfiguration objects. + List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,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 deviceEnrollmentPlatformRestrictionsConfiguration object. + Create a new deviceEnrollmentLimitConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -140,7 +140,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the deviceEnrollmentLimitConfiguration objects. + List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. """ def get_query_parameter(self,original_name: str) -> str: """ 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 b096716421b..86e6d1e5e68 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 @@ -35,10 +35,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 deviceEnrollmentPlatformRestrictionsConfiguration. + Deletes a deviceEnrollmentLimitConfiguration. 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-onboarding-deviceenrollmentplatformrestrictionsconfiguration-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -99,7 +99,7 @@ async def patch(self,body: DeviceEnrollmentConfiguration, request_configuration: def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. + Deletes a deviceEnrollmentLimitConfiguration. 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_management_request_builder.py b/msgraph/generated/device_management/device_management_request_builder.py index 176de0545ef..2e3b8d5979e 100644 --- a/msgraph/generated/device_management/device_management_request_builder.py +++ b/msgraph/generated/device_management/device_management_request_builder.py @@ -96,7 +96,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceMa Read properties and relationships of the deviceManagement object. 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-reporting-devicemanagement-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-enrollment-devicemanagement-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -130,7 +130,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-policyset-devicemanagement-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-remoteassistance-devicemanagement-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/drives/item/items/item/copy/copy_request_builder.py b/msgraph/generated/drives/item/items/item/copy/copy_request_builder.py index 87dfd8d3905..4da1d9fabb3 100644 --- a/msgraph/generated/drives/item/items/item/copy/copy_request_builder.py +++ b/msgraph/generated/drives/item/items/item/copy/copy_request_builder.py @@ -33,11 +33,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: CopyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DriveItem]: """ - Asynchronously creates a copy of an driveItem (including any children), under a new parent item or with a new name. + Invoke action copy param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] - Find more info here: https://learn.microsoft.com/graph/api/driveitem-copy?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -57,7 +56,7 @@ async def post(self,body: CopyPostRequestBody, request_configuration: Optional[R def to_post_request_information(self,body: CopyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Asynchronously creates a copy of an driveItem (including any children), under a new parent item or with a new name. + Invoke action copy 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/retention_label/retention_label_request_builder.py b/msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py index 20cff794c2e..1b46321214b 100644 --- a/msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py +++ b/msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Retentio async def patch(self,body: ItemRetentionLabel, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ItemRetentionLabel]: """ - Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemRetentionLabel] - Find more info here: https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: ItemRetentionLabel, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. 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/names/item/range/range_request_builder.py b/msgraph/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py index d8b2bfaf31a..45895ee6bc2 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 @@ -126,10 +126,10 @@ def columns_before_with_count(self,count: int) -> ColumnsBeforeWithCountRequestB async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookRange]: """ - Retrieve the properties and relationships of range object. + Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. 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/range-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -225,7 +225,7 @@ def rows_below_with_count(self,count: int) -> RowsBelowWithCountRequestBuilder: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of range object. + Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. 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 42d91256220..5ecb31973c8 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 @@ -33,11 +33,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.") @@ -57,7 +57,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 af1d91134f1..648c853bdf6 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 @@ -126,10 +126,10 @@ def columns_before_with_count(self,count: int) -> ColumnsBeforeWithCountRequestB async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookRange]: """ - Retrieve the properties and relationships of range object. + Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. 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/range-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -225,7 +225,7 @@ def rows_below_with_count(self,count: int) -> RowsBelowWithCountRequestBuilder: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of range object. + Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. 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 693d34dca1f..88b3efd1b51 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 @@ -33,11 +33,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.") @@ -57,7 +57,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/education/classes/item/assignments/assignments_request_builder.py b/msgraph/generated/education/classes/item/assignments/assignments_request_builder.py index 894655286cc..95a5779e89b 100644 --- a/msgraph/generated/education/classes/item/assignments/assignments_request_builder.py +++ b/msgraph/generated/education/classes/item/assignments/assignments_request_builder.py @@ -75,7 +75,7 @@ async def post(self,body: EducationAssignment, request_configuration: Optional[R param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignment] - Find more info here: https://learn.microsoft.com/graph/api/educationclass-post-assignment?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/educationclass-post-assignments?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/education/classes/item/assignments/item/resources/resources_request_builder.py b/msgraph/generated/education/classes/item/assignments/item/resources/resources_request_builder.py index 80f61b21e5f..317213aadb8 100644 --- a/msgraph/generated/education/classes/item/assignments/item/resources/resources_request_builder.py +++ b/msgraph/generated/education/classes/item/assignments/item/resources/resources_request_builder.py @@ -74,7 +74,7 @@ async def post(self,body: EducationAssignmentResource, request_configuration: Op param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignmentResource] - Find more info here: https://learn.microsoft.com/graph/api/educationassignment-post-resource?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/educationassignment-post-resources?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/groups/item/team/schedule/time_cards/clock_in/clock_in_post_request_body.py b/msgraph/generated/groups/item/team/schedule/time_cards/clock_in/clock_in_post_request_body.py index 79144511535..8c3cc3af49e 100644 --- a/msgraph/generated/groups/item/team/schedule/time_cards/clock_in/clock_in_post_request_body.py +++ b/msgraph/generated/groups/item/team/schedule/time_cards/clock_in/clock_in_post_request_body.py @@ -19,6 +19,8 @@ class ClockInPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): is_at_approved_location: Optional[bool] = None # The notes property notes: Optional[ItemBody] = None + # The onBehalfOfUserId property + on_behalf_of_user_id: Optional[str] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> ClockInPostRequestBody: @@ -43,6 +45,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: fields: dict[str, Callable[[Any], None]] = { "isAtApprovedLocation": lambda n : setattr(self, 'is_at_approved_location', n.get_bool_value()), "notes": lambda n : setattr(self, 'notes', n.get_object_value(ItemBody)), + "onBehalfOfUserId": lambda n : setattr(self, 'on_behalf_of_user_id', n.get_str_value()), } return fields @@ -56,6 +59,7 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") writer.write_bool_value("isAtApprovedLocation", self.is_at_approved_location) writer.write_object_value("notes", self.notes) + writer.write_str_value("onBehalfOfUserId", self.on_behalf_of_user_id) writer.write_additional_data_value(self.additional_data) 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 569619df42d..56e8104aa51 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 @@ -37,7 +37,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 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 2ac86c86422..bb4ba37303c 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 @@ -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: """ - Delete a countryNamedLocation object. + Delete a namedLocation 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/countrynamedlocation-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/namedlocation-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[NamedLoc async def patch(self,body: NamedLocation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[NamedLocation]: """ - Update the properties of an ipNamedLocation object. + Update the properties of a countryNamedLocation object. param body: The request body 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/ipnamedlocation-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/countrynamedlocation-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: NamedLocation, request_configuration: Optional[Reques def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a countryNamedLocation object. + Delete a namedLocation 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: NamedLocation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of an ipNamedLocation object. + Update the properties of a countryNamedLocation 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/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 2b2d9c22fd4..cf86c6678ca 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 @@ -51,10 +51,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 @@ -72,11 +72,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomCa async def patch(self,body: CustomCalloutExtension, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CustomCalloutExtension]: """ - Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + Update the properties of an accessPackageAssignmentWorkflowExtension object. param body: The request body 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-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-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[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 """ @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: CustomCalloutExtension, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + Update the properties of an accessPackageAssignmentWorkflowExtension 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 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/identity_protection/risky_users/confirm_safe/confirm_safe_post_request_body.py b/msgraph/generated/identity_protection/risky_users/confirm_safe/confirm_safe_post_request_body.py new file mode 100644 index 00000000000..4847a8910ff --- /dev/null +++ b/msgraph/generated/identity_protection/risky_users/confirm_safe/confirm_safe_post_request_body.py @@ -0,0 +1,50 @@ +from __future__ import annotations +from collections.abc import Callable +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, Optional, TYPE_CHECKING, Union + +@dataclass +class ConfirmSafePostRequestBody(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 userIds property + user_ids: Optional[list[str]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> ConfirmSafePostRequestBody: + """ + 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: ConfirmSafePostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return ConfirmSafePostRequestBody() + + 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]] = { + "userIds": lambda n : setattr(self, 'user_ids', 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.") + writer.write_collection_of_primitive_values("userIds", self.user_ids) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/identity_protection/risky_users/confirm_safe/confirm_safe_request_builder.py b/msgraph/generated/identity_protection/risky_users/confirm_safe/confirm_safe_request_builder.py new file mode 100644 index 00000000000..4ebc60c4208 --- /dev/null +++ b/msgraph/generated/identity_protection/risky_users/confirm_safe/confirm_safe_request_builder.py @@ -0,0 +1,86 @@ +from __future__ import annotations +from collections.abc import Callable +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, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ....models.o_data_errors.o_data_error import ODataError + from .confirm_safe_post_request_body import ConfirmSafePostRequestBody + +class ConfirmSafeRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the confirmSafe method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new ConfirmSafeRequestBuilder 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}/identityProtection/riskyUsers/confirmSafe", path_parameters) + + async def post(self,body: ConfirmSafePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Confirm one or more riskyUser objects as safe. This action sets the targeted user's risk level to none. + param body: The request body + 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/riskyuser-confirmsafe?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") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,body: ConfirmSafePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Confirm one or more riskyUser objects as safe. This action sets the targeted user's risk level to none. + 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.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> ConfirmSafeRequestBuilder: + """ + 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: ConfirmSafeRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ConfirmSafeRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ConfirmSafeRequestBuilderPostRequestConfiguration(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/identity_protection/risky_users/risky_users_request_builder.py b/msgraph/generated/identity_protection/risky_users/risky_users_request_builder.py index b708410238d..1f9dddeff6d 100644 --- a/msgraph/generated/identity_protection/risky_users/risky_users_request_builder.py +++ b/msgraph/generated/identity_protection/risky_users/risky_users_request_builder.py @@ -18,6 +18,7 @@ from ...models.risky_user import RiskyUser from ...models.risky_user_collection_response import RiskyUserCollectionResponse from .confirm_compromised.confirm_compromised_request_builder import ConfirmCompromisedRequestBuilder + from .confirm_safe.confirm_safe_request_builder import ConfirmSafeRequestBuilder from .count.count_request_builder import CountRequestBuilder from .dismiss.dismiss_request_builder import DismissRequestBuilder from .item.risky_user_item_request_builder import RiskyUserItemRequestBuilder @@ -138,6 +139,15 @@ def confirm_compromised(self) -> ConfirmCompromisedRequestBuilder: return ConfirmCompromisedRequestBuilder(self.request_adapter, self.path_parameters) + @property + def confirm_safe(self) -> ConfirmSafeRequestBuilder: + """ + Provides operations to call the confirmSafe method. + """ + from .confirm_safe.confirm_safe_request_builder import ConfirmSafeRequestBuilder + + return ConfirmSafeRequestBuilder(self.request_adapter, self.path_parameters) + @property def count(self) -> CountRequestBuilder: """ diff --git a/msgraph/generated/kiota-dom-export.txt b/msgraph/generated/kiota-dom-export.txt index 0b0e3593408..08b5d1ae4bc 100644 --- a/msgraph/generated/kiota-dom-export.txt +++ b/msgraph/generated/kiota-dom-export.txt @@ -80016,6 +80016,8 @@ msgraph.generated.groups.item.team.schedule.timeCards.clockIn.ClockInPostRequest msgraph.generated.groups.item.team.schedule.timeCards.clockIn.ClockInPostRequestBody::|public|is_at_approved_location(value:bool):None msgraph.generated.groups.item.team.schedule.timeCards.clockIn.ClockInPostRequestBody::|public|notes():ItemBody msgraph.generated.groups.item.team.schedule.timeCards.clockIn.ClockInPostRequestBody::|public|notes(value:ItemBody):None +msgraph.generated.groups.item.team.schedule.timeCards.clockIn.ClockInPostRequestBody::|public|on_behalf_of_user_id():str +msgraph.generated.groups.item.team.schedule.timeCards.clockIn.ClockInPostRequestBody::|public|on_behalf_of_user_id(value:str):None msgraph.generated.groups.item.team.schedule.timeCards.clockIn.ClockInPostRequestBody::|public|serialize(writer:SerializationWriter):None msgraph.generated.groups.item.team.schedule.timeCards.clockIn.ClockInPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):ClockInPostRequestBody msgraph.generated.groups.item.team.schedule.timeCards.clockIn.ClockInPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable @@ -97042,6 +97044,25 @@ msgraph.generated.identityProtection.riskyUsers.confirmCompromised.ConfirmCompro msgraph.generated.identityProtection.riskyUsers.confirmCompromised.ConfirmCompromisedRequestBuilder::|public|to_post_request_information(body:ConfirmCompromisedPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph.generated.identityProtection.riskyUsers.confirmCompromised.ConfirmCompromisedRequestBuilder::|public|url_template:str msgraph.generated.identityProtection.riskyUsers.confirmCompromised.ConfirmCompromisedRequestBuilder::|public|with_url(raw_url:str):ConfirmCompromisedRequestBuilder +msgraph.generated.identityProtection.riskyUsers.confirmSafe.ConfirmSafePostRequestBody::|public|additional_data():dict[str, Any] +msgraph.generated.identityProtection.riskyUsers.confirmSafe.ConfirmSafePostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph.generated.identityProtection.riskyUsers.confirmSafe.ConfirmSafePostRequestBody::|public|backing_store:BackingStore +msgraph.generated.identityProtection.riskyUsers.confirmSafe.ConfirmSafePostRequestBody::|public|constructor():None +msgraph.generated.identityProtection.riskyUsers.confirmSafe.ConfirmSafePostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.identityProtection.riskyUsers.confirmSafe.ConfirmSafePostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph.generated.identityProtection.riskyUsers.confirmSafe.ConfirmSafePostRequestBody::|public|user_ids():list[str] +msgraph.generated.identityProtection.riskyUsers.confirmSafe.ConfirmSafePostRequestBody::|public|user_ids(value:list[str]):None +msgraph.generated.identityProtection.riskyUsers.confirmSafe.ConfirmSafePostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):ConfirmSafePostRequestBody +msgraph.generated.identityProtection.riskyUsers.confirmSafe.ConfirmSafePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.identityProtection.riskyUsers.confirmSafe.ConfirmSafeRequestBuilder-->BaseRequestBuilder +msgraph.generated.identityProtection.riskyUsers.confirmSafe.ConfirmSafeRequestBuilder.ConfirmSafeRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.identityProtection.riskyUsers.confirmSafe.ConfirmSafeRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.identityProtection.riskyUsers.confirmSafe.ConfirmSafeRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph.generated.identityProtection.riskyUsers.confirmSafe.ConfirmSafeRequestBuilder::|public|post(body:ConfirmSafePostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph.generated.identityProtection.riskyUsers.confirmSafe.ConfirmSafeRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.identityProtection.riskyUsers.confirmSafe.ConfirmSafeRequestBuilder::|public|to_post_request_information(body:ConfirmSafePostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.identityProtection.riskyUsers.confirmSafe.ConfirmSafeRequestBuilder::|public|url_template:str +msgraph.generated.identityProtection.riskyUsers.confirmSafe.ConfirmSafeRequestBuilder::|public|with_url(raw_url:str):ConfirmSafeRequestBuilder msgraph.generated.identityProtection.riskyUsers.count.CountRequestBuilder-->BaseRequestBuilder msgraph.generated.identityProtection.riskyUsers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str msgraph.generated.identityProtection.riskyUsers.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str @@ -97159,6 +97180,7 @@ msgraph.generated.identityProtection.riskyUsers.RiskyUsersRequestBuilder.RiskyUs msgraph.generated.identityProtection.riskyUsers.RiskyUsersRequestBuilder.RiskyUsersRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph.generated.identityProtection.riskyUsers.RiskyUsersRequestBuilder::|public|by_risky_user_id(risky_user_id:str):RiskyUserItemRequestBuilder msgraph.generated.identityProtection.riskyUsers.RiskyUsersRequestBuilder::|public|confirm_compromised:ConfirmCompromisedRequestBuilder +msgraph.generated.identityProtection.riskyUsers.RiskyUsersRequestBuilder::|public|confirm_safe:ConfirmSafeRequestBuilder msgraph.generated.identityProtection.riskyUsers.RiskyUsersRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None msgraph.generated.identityProtection.riskyUsers.RiskyUsersRequestBuilder::|public|count:CountRequestBuilder msgraph.generated.identityProtection.riskyUsers.RiskyUsersRequestBuilder::|public|dismiss:DismissRequestBuilder @@ -99277,11 +99299,9 @@ msgraph.generated.models.AiInteraction::|public|serialize(writer:SerializationWr msgraph.generated.models.AiInteraction::|public|session_id():str msgraph.generated.models.AiInteraction::|public|session_id(value:str):None msgraph.generated.models.AiInteraction::|static|public|create_from_discriminator_value(parse_node:ParseNode):AiInteraction -msgraph.generated.models.AiInteractionAttachment::|public|additional_data():dict[str, Any] -msgraph.generated.models.AiInteractionAttachment::|public|additional_data(value:dict[str, Any]):None +msgraph.generated.models.AiInteractionAttachment-->Entity msgraph.generated.models.AiInteractionAttachment::|public|attachment_id():str msgraph.generated.models.AiInteractionAttachment::|public|attachment_id(value:str):None -msgraph.generated.models.AiInteractionAttachment::|public|backing_store:BackingStore msgraph.generated.models.AiInteractionAttachment::|public|constructor():None msgraph.generated.models.AiInteractionAttachment::|public|content():str msgraph.generated.models.AiInteractionAttachment::|public|content(value:str):None @@ -99292,14 +99312,10 @@ msgraph.generated.models.AiInteractionAttachment::|public|content_url(value:str) msgraph.generated.models.AiInteractionAttachment::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] msgraph.generated.models.AiInteractionAttachment::|public|name():str msgraph.generated.models.AiInteractionAttachment::|public|name(value:str):None -msgraph.generated.models.AiInteractionAttachment::|public|odata_type():str -msgraph.generated.models.AiInteractionAttachment::|public|odata_type(value:str):None +msgraph.generated.models.AiInteractionAttachment::|public|odata_type:str msgraph.generated.models.AiInteractionAttachment::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.AiInteractionAttachment::|static|public|create_from_discriminator_value(parse_node:ParseNode):AiInteractionAttachment -msgraph.generated.models.AiInteractionAttachment~~>AdditionalDataHolder; BackedModel; Parsable -msgraph.generated.models.AiInteractionContext::|public|additional_data():dict[str, Any] -msgraph.generated.models.AiInteractionContext::|public|additional_data(value:dict[str, Any]):None -msgraph.generated.models.AiInteractionContext::|public|backing_store:BackingStore +msgraph.generated.models.AiInteractionContext-->Entity msgraph.generated.models.AiInteractionContext::|public|constructor():None msgraph.generated.models.AiInteractionContext::|public|context_reference():str msgraph.generated.models.AiInteractionContext::|public|context_reference(value:str):None @@ -99308,20 +99324,16 @@ msgraph.generated.models.AiInteractionContext::|public|context_type(value:str):N msgraph.generated.models.AiInteractionContext::|public|display_name():str msgraph.generated.models.AiInteractionContext::|public|display_name(value:str):None msgraph.generated.models.AiInteractionContext::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph.generated.models.AiInteractionContext::|public|odata_type():str -msgraph.generated.models.AiInteractionContext::|public|odata_type(value:str):None +msgraph.generated.models.AiInteractionContext::|public|odata_type:str msgraph.generated.models.AiInteractionContext::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.AiInteractionContext::|static|public|create_from_discriminator_value(parse_node:ParseNode):AiInteractionContext -msgraph.generated.models.AiInteractionContext~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.AiInteractionHistory-->Entity msgraph.generated.models.AiInteractionHistory::|public|constructor():None msgraph.generated.models.AiInteractionHistory::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] msgraph.generated.models.AiInteractionHistory::|public|odata_type:str msgraph.generated.models.AiInteractionHistory::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.AiInteractionHistory::|static|public|create_from_discriminator_value(parse_node:ParseNode):AiInteractionHistory -msgraph.generated.models.AiInteractionLink::|public|additional_data():dict[str, Any] -msgraph.generated.models.AiInteractionLink::|public|additional_data(value:dict[str, Any]):None -msgraph.generated.models.AiInteractionLink::|public|backing_store:BackingStore +msgraph.generated.models.AiInteractionLink-->Entity msgraph.generated.models.AiInteractionLink::|public|constructor():None msgraph.generated.models.AiInteractionLink::|public|display_name():str msgraph.generated.models.AiInteractionLink::|public|display_name(value:str):None @@ -99330,14 +99342,10 @@ msgraph.generated.models.AiInteractionLink::|public|link_type():str msgraph.generated.models.AiInteractionLink::|public|link_type(value:str):None msgraph.generated.models.AiInteractionLink::|public|link_url():str msgraph.generated.models.AiInteractionLink::|public|link_url(value:str):None -msgraph.generated.models.AiInteractionLink::|public|odata_type():str -msgraph.generated.models.AiInteractionLink::|public|odata_type(value:str):None +msgraph.generated.models.AiInteractionLink::|public|odata_type:str msgraph.generated.models.AiInteractionLink::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.AiInteractionLink::|static|public|create_from_discriminator_value(parse_node:ParseNode):AiInteractionLink -msgraph.generated.models.AiInteractionLink~~>AdditionalDataHolder; BackedModel; Parsable -msgraph.generated.models.AiInteractionMention::|public|additional_data():dict[str, Any] -msgraph.generated.models.AiInteractionMention::|public|additional_data(value:dict[str, Any]):None -msgraph.generated.models.AiInteractionMention::|public|backing_store:BackingStore +msgraph.generated.models.AiInteractionMention-->Entity msgraph.generated.models.AiInteractionMention::|public|constructor():None msgraph.generated.models.AiInteractionMention::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] msgraph.generated.models.AiInteractionMention::|public|mentioned():AiInteractionMentionedIdentitySet @@ -99346,8 +99354,7 @@ msgraph.generated.models.AiInteractionMention::|public|mention_id():int msgraph.generated.models.AiInteractionMention::|public|mention_id(value:int):None msgraph.generated.models.AiInteractionMention::|public|mention_text():str msgraph.generated.models.AiInteractionMention::|public|mention_text(value:str):None -msgraph.generated.models.AiInteractionMention::|public|odata_type():str -msgraph.generated.models.AiInteractionMention::|public|odata_type(value:str):None +msgraph.generated.models.AiInteractionMention::|public|odata_type:str msgraph.generated.models.AiInteractionMention::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.AiInteractionMention::|static|public|create_from_discriminator_value(parse_node:ParseNode):AiInteractionMention msgraph.generated.models.AiInteractionMentionedIdentitySet-->IdentitySet @@ -99360,7 +99367,6 @@ msgraph.generated.models.AiInteractionMentionedIdentitySet::|public|serialize(wr msgraph.generated.models.AiInteractionMentionedIdentitySet::|public|tag():TeamworkTagIdentity msgraph.generated.models.AiInteractionMentionedIdentitySet::|public|tag(value:TeamworkTagIdentity):None msgraph.generated.models.AiInteractionMentionedIdentitySet::|static|public|create_from_discriminator_value(parse_node:ParseNode):AiInteractionMentionedIdentitySet -msgraph.generated.models.AiInteractionMention~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.AiInteractionType::0000-UserPrompt msgraph.generated.models.AiInteractionType::0001-AiResponse msgraph.generated.models.AiInteractionType::0002-UnknownFutureValue @@ -181973,6 +181979,8 @@ msgraph.generated.teams.item.schedule.timeCards.clockIn.ClockInPostRequestBody:: msgraph.generated.teams.item.schedule.timeCards.clockIn.ClockInPostRequestBody::|public|is_at_approved_location(value:bool):None msgraph.generated.teams.item.schedule.timeCards.clockIn.ClockInPostRequestBody::|public|notes():ItemBody msgraph.generated.teams.item.schedule.timeCards.clockIn.ClockInPostRequestBody::|public|notes(value:ItemBody):None +msgraph.generated.teams.item.schedule.timeCards.clockIn.ClockInPostRequestBody::|public|on_behalf_of_user_id():str +msgraph.generated.teams.item.schedule.timeCards.clockIn.ClockInPostRequestBody::|public|on_behalf_of_user_id(value:str):None msgraph.generated.teams.item.schedule.timeCards.clockIn.ClockInPostRequestBody::|public|serialize(writer:SerializationWriter):None msgraph.generated.teams.item.schedule.timeCards.clockIn.ClockInPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):ClockInPostRequestBody msgraph.generated.teams.item.schedule.timeCards.clockIn.ClockInPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable @@ -206438,6 +206446,8 @@ msgraph.generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.ClockIn msgraph.generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.ClockInPostRequestBody::|public|is_at_approved_location(value:bool):None msgraph.generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.ClockInPostRequestBody::|public|notes():ItemBody msgraph.generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.ClockInPostRequestBody::|public|notes(value:ItemBody):None +msgraph.generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.ClockInPostRequestBody::|public|on_behalf_of_user_id():str +msgraph.generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.ClockInPostRequestBody::|public|on_behalf_of_user_id(value:str):None msgraph.generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.ClockInPostRequestBody::|public|serialize(writer:SerializationWriter):None msgraph.generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.ClockInPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):ClockInPostRequestBody msgraph.generated.users.item.joinedTeams.item.schedule.timeCards.clockIn.ClockInPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable diff --git a/msgraph/generated/kiota-lock.json b/msgraph/generated/kiota-lock.json index 1c868412f2f..5c3bee7a6a8 100644 --- a/msgraph/generated/kiota-lock.json +++ b/msgraph/generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "B5A4149FBFB92197EAAB2C6C1D0D838E942250C69CAC42920E6E6E97F32889B5B1F565896EC586A62B27666BE7B11D89EA2BE073B9E77A0AA1252F3A156D33C2", + "descriptionHash": "7DCFFC3F1188DB1EC654E5B3D782EA38535D557509EE67A819E9508A47601962EA05A39D228728067D7FA1C7E62950C20F305D2AF18B8F23B565F59B61D40DF5", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.27.0", diff --git a/msgraph/generated/models/ai_interaction.py b/msgraph/generated/models/ai_interaction.py index d68b664b85f..c95f3405e68 100644 --- a/msgraph/generated/models/ai_interaction.py +++ b/msgraph/generated/models/ai_interaction.py @@ -19,35 +19,35 @@ @dataclass class AiInteraction(Entity, Parsable): - # The appClass property + # The data source for Copilot data. For example, IPM.SkypeTeams.Message.Copilot.Excel or IPM.SkypeTeams.Message.Copilot.Loop. app_class: Optional[str] = None - # The attachments property + # The collection of documents attached to the interaction, such as cards and images. attachments: Optional[list[AiInteractionAttachment]] = None - # The body property + # The body of the message, including the text of the body and its body type. body: Optional[ItemBody] = None - # The contexts property + # The identifer that maps to all contexts associated with an interaction. contexts: Optional[list[AiInteractionContext]] = None - # The conversationType property + # The type of the conversation. For example, appchat or bizchat. conversation_type: Optional[str] = None - # The createdDateTime property + # The time when the interaction was created. created_date_time: Optional[datetime.datetime] = None - # The etag property + # The timestamp of when the interaction was last modified. etag: Optional[str] = None # The from property from_: Optional[IdentitySet] = None # The interactionType property interaction_type: Optional[AiInteractionType] = None - # The links property + # The collection of links that appear in the interaction. links: Optional[list[AiInteractionLink]] = None - # The locale property + # The locale of the sender. locale: Optional[str] = None - # The mentions property + # The collection of the entities that were mentioned in the interaction, including users, bots, and so on. mentions: Optional[list[AiInteractionMention]] = None # The OdataType property odata_type: Optional[str] = None - # The requestId property + # The identifier that groups a user prompt with its Copilot response. request_id: Optional[str] = None - # The sessionId property + # The thread ID or conversation identifier that maps to all Copilot sessions for the user. session_id: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/ai_interaction_attachment.py b/msgraph/generated/models/ai_interaction_attachment.py index 217f39b766d..670560bb433 100644 --- a/msgraph/generated/models/ai_interaction_attachment.py +++ b/msgraph/generated/models/ai_interaction_attachment.py @@ -1,26 +1,25 @@ from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass, field -from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter -from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter from typing import Any, Optional, TYPE_CHECKING, Union -@dataclass -class AiInteractionAttachment(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) +if TYPE_CHECKING: + from .entity import Entity + +from .entity import Entity - # 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 attachmentId property +@dataclass +class AiInteractionAttachment(Entity, Parsable): + # The identifier for the attachment. This identifier is only unique within the message scope. attachment_id: Optional[str] = None - # The content property + # The content of the attachment. content: Optional[str] = None - # The contentType property + # The type of the content. For example, reference, file, and image/imageType. content_type: Optional[str] = None - # The contentUrl property + # The URL of the content. content_url: Optional[str] = None - # The name property + # The name of the attachment. name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None @@ -41,14 +40,19 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ + from .entity import Entity + + from .entity import Entity + fields: dict[str, Callable[[Any], None]] = { "attachmentId": lambda n : setattr(self, 'attachment_id', n.get_str_value()), "content": lambda n : setattr(self, 'content', n.get_str_value()), "contentType": lambda n : setattr(self, 'content_type', n.get_str_value()), "contentUrl": lambda n : setattr(self, 'content_url', n.get_str_value()), "name": lambda n : setattr(self, 'name', n.get_str_value()), - "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), } + super_fields = super().get_field_deserializers() + fields.update(super_fields) return fields def serialize(self,writer: SerializationWriter) -> None: @@ -59,12 +63,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + super().serialize(writer) writer.write_str_value("attachmentId", self.attachment_id) writer.write_str_value("content", self.content) writer.write_str_value("contentType", self.content_type) writer.write_str_value("contentUrl", self.content_url) writer.write_str_value("name", self.name) - writer.write_str_value("@odata.type", self.odata_type) - writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/ai_interaction_context.py b/msgraph/generated/models/ai_interaction_context.py index 19899eecaf2..9919e1ec0fa 100644 --- a/msgraph/generated/models/ai_interaction_context.py +++ b/msgraph/generated/models/ai_interaction_context.py @@ -1,22 +1,21 @@ from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass, field -from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter -from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter from typing import Any, Optional, TYPE_CHECKING, Union -@dataclass -class AiInteractionContext(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) +if TYPE_CHECKING: + from .entity import Entity + +from .entity import Entity - # 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 contextReference property +@dataclass +class AiInteractionContext(Entity, Parsable): + # The full file URL where the interaction happened. context_reference: Optional[str] = None - # The contextType property + # The type of the file. context_type: Optional[str] = None - # The displayName property + # The name of the file. display_name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None @@ -37,12 +36,17 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ + from .entity import Entity + + from .entity import Entity + fields: dict[str, Callable[[Any], None]] = { "contextReference": lambda n : setattr(self, 'context_reference', n.get_str_value()), "contextType": lambda n : setattr(self, 'context_type', n.get_str_value()), "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), - "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), } + super_fields = super().get_field_deserializers() + fields.update(super_fields) return fields def serialize(self,writer: SerializationWriter) -> None: @@ -53,10 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + super().serialize(writer) writer.write_str_value("contextReference", self.context_reference) writer.write_str_value("contextType", self.context_type) writer.write_str_value("displayName", self.display_name) - writer.write_str_value("@odata.type", self.odata_type) - writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/ai_interaction_link.py b/msgraph/generated/models/ai_interaction_link.py index 049dbe50109..478137e17aa 100644 --- a/msgraph/generated/models/ai_interaction_link.py +++ b/msgraph/generated/models/ai_interaction_link.py @@ -1,22 +1,21 @@ from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass, field -from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter -from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter from typing import Any, Optional, TYPE_CHECKING, Union -@dataclass -class AiInteractionLink(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) +if TYPE_CHECKING: + from .entity import Entity + +from .entity import Entity - # 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 displayName property +@dataclass +class AiInteractionLink(Entity, Parsable): + # The name of the link. display_name: Optional[str] = None - # The linkType property + # Information about a link in an app chat or Business Chat (BizChat) interaction. link_type: Optional[str] = None - # The linkUrl property + # The URL of the link. link_url: Optional[str] = None # The OdataType property odata_type: Optional[str] = None @@ -37,12 +36,17 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ + from .entity import Entity + + from .entity import Entity + fields: dict[str, Callable[[Any], None]] = { "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), "linkType": lambda n : setattr(self, 'link_type', n.get_str_value()), "linkUrl": lambda n : setattr(self, 'link_url', n.get_str_value()), - "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), } + super_fields = super().get_field_deserializers() + fields.update(super_fields) return fields def serialize(self,writer: SerializationWriter) -> None: @@ -53,10 +57,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + super().serialize(writer) writer.write_str_value("displayName", self.display_name) writer.write_str_value("linkType", self.link_type) writer.write_str_value("linkUrl", self.link_url) - writer.write_str_value("@odata.type", self.odata_type) - writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/ai_interaction_mention.py b/msgraph/generated/models/ai_interaction_mention.py index 495dad92075..de28bf0c47b 100644 --- a/msgraph/generated/models/ai_interaction_mention.py +++ b/msgraph/generated/models/ai_interaction_mention.py @@ -1,25 +1,22 @@ from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass, field -from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter -from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: from .ai_interaction_mentioned_identity_set import AiInteractionMentionedIdentitySet + from .entity import Entity -@dataclass -class AiInteractionMention(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) +from .entity import Entity - # 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 mentionId property +@dataclass +class AiInteractionMention(Entity, Parsable): + # The identifier for the mention. mention_id: Optional[int] = None - # The mentionText property + # The text mentioned in the message. mention_text: Optional[str] = None - # The mentioned property + # The entity mentioned in the message. mentioned: Optional[AiInteractionMentionedIdentitySet] = None # The OdataType property odata_type: Optional[str] = None @@ -41,15 +38,18 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: Returns: dict[str, Callable[[ParseNode], None]] """ from .ai_interaction_mentioned_identity_set import AiInteractionMentionedIdentitySet + from .entity import Entity from .ai_interaction_mentioned_identity_set import AiInteractionMentionedIdentitySet + from .entity import Entity fields: dict[str, Callable[[Any], None]] = { "mentionId": lambda n : setattr(self, 'mention_id', n.get_int_value()), "mentionText": lambda n : setattr(self, 'mention_text', n.get_str_value()), "mentioned": lambda n : setattr(self, 'mentioned', n.get_object_value(AiInteractionMentionedIdentitySet)), - "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), } + super_fields = super().get_field_deserializers() + fields.update(super_fields) return fields def serialize(self,writer: SerializationWriter) -> None: @@ -60,10 +60,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + super().serialize(writer) writer.write_int_value("mentionId", self.mention_id) writer.write_str_value("mentionText", self.mention_text) writer.write_object_value("mentioned", self.mentioned) - writer.write_str_value("@odata.type", self.odata_type) - writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/ai_interaction_mentioned_identity_set.py b/msgraph/generated/models/ai_interaction_mentioned_identity_set.py index de4c5ebd17e..bb10eb81ae1 100644 --- a/msgraph/generated/models/ai_interaction_mentioned_identity_set.py +++ b/msgraph/generated/models/ai_interaction_mentioned_identity_set.py @@ -17,7 +17,7 @@ class AiInteractionMentionedIdentitySet(IdentitySet, Parsable): odata_type: Optional[str] = "#microsoft.graph.aiInteractionMentionedIdentitySet" # The conversation property conversation: Optional[TeamworkConversationIdentity] = None - # The tag property + # The tag details. tag: Optional[TeamworkTagIdentity] = None @staticmethod diff --git a/msgraph/generated/models/ai_user.py b/msgraph/generated/models/ai_user.py index e085863efa9..869c20d5efc 100644 --- a/msgraph/generated/models/ai_user.py +++ b/msgraph/generated/models/ai_user.py @@ -12,7 +12,7 @@ @dataclass class AiUser(Entity, Parsable): - # The interactionHistory property + # The history of interactions between AI agents and users. interaction_history: Optional[AiInteractionHistory] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph/generated/models/app_scope.py b/msgraph/generated/models/app_scope.py index 0505cfcd16d..f1fd2eb87a9 100644 --- a/msgraph/generated/models/app_scope.py +++ b/msgraph/generated/models/app_scope.py @@ -11,11 +11,11 @@ @dataclass class AppScope(Entity, Parsable): - # Provides the display name of the app-specific resource represented by the app scope. Provided for display purposes since appScopeId is often an immutable, non-human-readable id. Read-only. + # Provides the display name of the app-specific resource represented by the app scope. Read only. display_name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # Describes the type of app-specific resource represented by the app scope and is provided for display purposes, so a user interface can convey to the user the kind of app specific resource represented by the app scope. Read-only. + # Describes the type of app-specific resource represented by the app scope. Read-only. type: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/application.py b/msgraph/generated/models/application.py index 97cf5fd6134..356e3d2a7a1 100644 --- a/msgraph/generated/models/application.py +++ b/msgraph/generated/models/application.py @@ -76,7 +76,7 @@ class Application(DirectoryObject, Parsable): group_membership_claims: Optional[str] = None # The homeRealmDiscoveryPolicies property home_realm_discovery_policies: Optional[list[HomeRealmDiscoveryPolicy]] = None - # Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you reference in your API's code, and it must be globally unique. For more information on valid identifierUris patterns and best practices, see Microsoft Entra application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). + # Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you reference in your API's code, and it must be globally unique across Microsoft Entra ID. For more information on valid identifierUris patterns and best practices, see Microsoft Entra application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). identifier_uris: Optional[list[str]] = None # Basic profile information of the application such as app's marketing, support, terms of service and privacy statement URLs. The terms of service and privacy statement are surfaced to users through the user consent experience. For more info, see How to: Add Terms of service and privacy statement for registered Microsoft Entra apps. Supports $filter (eq, ne, not, ge, le, and eq on null values). info: Optional[InformationalUrl] = None diff --git a/msgraph/generated/models/audit_activity_initiator.py b/msgraph/generated/models/audit_activity_initiator.py index 0e08eeaf344..a79a1a4d39a 100644 --- a/msgraph/generated/models/audit_activity_initiator.py +++ b/msgraph/generated/models/audit_activity_initiator.py @@ -16,11 +16,11 @@ class AuditActivityInitiator(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) - # If the resource initiating the activity is an app, this property indicates all the app related information like appId, Name, servicePrincipalId, Name. + # If the resource initiating the activity is an app, this property indicates all the app related information like appId and name. app: Optional[AppIdentity] = None # The OdataType property odata_type: Optional[str] = None - # If the resource initiating the activity is a user, this property Indicates all the user related information like userId, Name, UserPrinicpalName. + # If the resource initiating the activity is a user, this property Indicates all the user related information like user ID and userPrincipalName. user: Optional[UserIdentity] = None @staticmethod diff --git a/msgraph/generated/models/drive_protection_units_bulk_addition_job.py b/msgraph/generated/models/drive_protection_units_bulk_addition_job.py index fcd8d1d1c07..54f2f4ad23a 100644 --- a/msgraph/generated/models/drive_protection_units_bulk_addition_job.py +++ b/msgraph/generated/models/drive_protection_units_bulk_addition_job.py @@ -13,9 +13,9 @@ class DriveProtectionUnitsBulkAdditionJob(ProtectionUnitsBulkJobBase, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.driveProtectionUnitsBulkAdditionJob" - # The directoryObjectIds property + # The list of OneDrive directoryObjectIds to add to the OneDrive protection policy. directory_object_ids: Optional[list[str]] = None - # The drives property + # The list of email addresses to add to the OneDrive protection policy. drives: Optional[list[str]] = None @staticmethod diff --git a/msgraph/generated/models/drive_restore_artifacts_bulk_addition_request.py b/msgraph/generated/models/drive_restore_artifacts_bulk_addition_request.py index b5c9b621da2..633548b307d 100644 --- a/msgraph/generated/models/drive_restore_artifacts_bulk_addition_request.py +++ b/msgraph/generated/models/drive_restore_artifacts_bulk_addition_request.py @@ -11,9 +11,9 @@ @dataclass class DriveRestoreArtifactsBulkAdditionRequest(RestoreArtifactsBulkRequestBase, Parsable): - # The directoryObjectIds property + # The list of directory object IDs that are added to the corresponding OneDrive for work or school restore session in a bulk operation. directory_object_ids: Optional[list[str]] = None - # The drives property + # The list of email addresses that are added to the corresponding OneDrive for work or school restore session in a bulk operation. drives: Optional[list[str]] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph/generated/models/exchange_restore_session.py b/msgraph/generated/models/exchange_restore_session.py index a1e89812c36..7d89b622895 100644 --- a/msgraph/generated/models/exchange_restore_session.py +++ b/msgraph/generated/models/exchange_restore_session.py @@ -20,7 +20,7 @@ class ExchangeRestoreSession(RestoreSessionBase, Parsable): granular_mailbox_restore_artifacts: Optional[list[GranularMailboxRestoreArtifact]] = None # A collection of restore points and destination details that can be used to restore Exchange mailboxes. mailbox_restore_artifacts: Optional[list[MailboxRestoreArtifact]] = None - # The mailboxRestoreArtifactsBulkAdditionRequests property + # A collection of user mailboxes and destination details that can be used to restore Exchange mailboxes. mailbox_restore_artifacts_bulk_addition_requests: Optional[list[MailboxRestoreArtifactsBulkAdditionRequest]] = None @staticmethod diff --git a/msgraph/generated/models/mailbox_protection_units_bulk_addition_job.py b/msgraph/generated/models/mailbox_protection_units_bulk_addition_job.py index 56eaea73284..f3a56a908da 100644 --- a/msgraph/generated/models/mailbox_protection_units_bulk_addition_job.py +++ b/msgraph/generated/models/mailbox_protection_units_bulk_addition_job.py @@ -13,9 +13,9 @@ class MailboxProtectionUnitsBulkAdditionJob(ProtectionUnitsBulkJobBase, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.mailboxProtectionUnitsBulkAdditionJob" - # The directoryObjectIds property + # The list of Exchange directoryObjectIds to add to the Exchange protection policy. directory_object_ids: Optional[list[str]] = None - # The mailboxes property + # The list of Exchange email addresses to add to the Exchange protection policy. mailboxes: Optional[list[str]] = None @staticmethod diff --git a/msgraph/generated/models/mailbox_restore_artifacts_bulk_addition_request.py b/msgraph/generated/models/mailbox_restore_artifacts_bulk_addition_request.py index c73a4a09463..6f705b2d0d4 100644 --- a/msgraph/generated/models/mailbox_restore_artifacts_bulk_addition_request.py +++ b/msgraph/generated/models/mailbox_restore_artifacts_bulk_addition_request.py @@ -11,9 +11,9 @@ @dataclass class MailboxRestoreArtifactsBulkAdditionRequest(RestoreArtifactsBulkRequestBase, Parsable): - # The directoryObjectIds property + # The list of directory object IDs that are added to the corresponding Exchange restore session in a bulk operation. directory_object_ids: Optional[list[str]] = None - # The mailboxes property + # The list of email addresses that are added to the corresponding Exchange restore session in a bulk operation. mailboxes: Optional[list[str]] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph/generated/models/offer_shift_request.py b/msgraph/generated/models/offer_shift_request.py index cb04bb330f2..7a4600fe567 100644 --- a/msgraph/generated/models/offer_shift_request.py +++ b/msgraph/generated/models/offer_shift_request.py @@ -15,13 +15,13 @@ class OfferShiftRequest(ScheduleChangeRequest, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.offerShiftRequest" - # The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + # The date and time when the recipient approved or declined the request. recipient_action_date_time: Optional[datetime.datetime] = None - # Custom message sent by recipient of the offer shift request. + # The message sent by the recipient regarding the request. recipient_action_message: Optional[str] = None - # User ID of the recipient of the offer shift request. + # The recipient's user ID. recipient_user_id: Optional[str] = None - # User ID of the sender of the offer shift request. + # The sender's shift ID. sender_shift_id: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/one_drive_for_business_restore_session.py b/msgraph/generated/models/one_drive_for_business_restore_session.py index 7eb3b71565a..df245494cf2 100644 --- a/msgraph/generated/models/one_drive_for_business_restore_session.py +++ b/msgraph/generated/models/one_drive_for_business_restore_session.py @@ -15,9 +15,9 @@ class OneDriveForBusinessRestoreSession(RestoreSessionBase, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.oneDriveForBusinessRestoreSession" - # A collection of restore points and destination details that can be used to restore a OneDrive for Business drive. + # A collection of restore points and destination details that can be used to restore a OneDrive for work or school drive. drive_restore_artifacts: Optional[list[DriveRestoreArtifact]] = None - # The driveRestoreArtifactsBulkAdditionRequests property + # A collection of user mailboxes and destination details that can be used to restore a OneDrive for work or school drive. drive_restore_artifacts_bulk_addition_requests: Optional[list[DriveRestoreArtifactsBulkAdditionRequest]] = None @staticmethod diff --git a/msgraph/generated/models/protection_rule_base.py b/msgraph/generated/models/protection_rule_base.py index 9a8c36f987b..74f2db32bf5 100644 --- a/msgraph/generated/models/protection_rule_base.py +++ b/msgraph/generated/models/protection_rule_base.py @@ -24,7 +24,7 @@ class ProtectionRuleBase(Entity, Parsable): created_date_time: Optional[datetime.datetime] = None # Contains error details if an operation on a rule fails. error: Optional[PublicError] = None - # true indicates that the protection rule is dynamic; false that it's static. Currently, only static rules are supported. + # The isAutoApplyEnabled property is_auto_apply_enabled: Optional[bool] = None # The identity of the person who last modified the rule. last_modified_by: Optional[IdentitySet] = None diff --git a/msgraph/generated/models/protection_units_bulk_job_base.py b/msgraph/generated/models/protection_units_bulk_job_base.py index e7e395ad3fa..4bd34bdd51b 100644 --- a/msgraph/generated/models/protection_units_bulk_job_base.py +++ b/msgraph/generated/models/protection_units_bulk_job_base.py @@ -18,17 +18,17 @@ @dataclass class ProtectionUnitsBulkJobBase(Entity, Parsable): - # The createdBy property + # The identity of person who created the job. created_by: Optional[IdentitySet] = None - # The createdDateTime property + # The time of creation of the job. created_date_time: Optional[datetime.datetime] = None - # The displayName property + # The name of the protection units bulk addition job. display_name: Optional[str] = None - # The error property + # Error details containing resource resolution failures, if any. error: Optional[PublicError] = None - # The lastModifiedBy property + # The identity of the person who last modified the job. last_modified_by: Optional[IdentitySet] = None - # The lastModifiedDateTime property + # Timestamp of the last modification made to the job. last_modified_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph/generated/models/restore_artifacts_bulk_request_base.py b/msgraph/generated/models/restore_artifacts_bulk_request_base.py index 2b0cd6aa719..8155c27ee30 100644 --- a/msgraph/generated/models/restore_artifacts_bulk_request_base.py +++ b/msgraph/generated/models/restore_artifacts_bulk_request_base.py @@ -22,31 +22,31 @@ @dataclass class RestoreArtifactsBulkRequestBase(Entity, Parsable): - # The createdBy property + # The identity of the person who created the bulk request. created_by: Optional[IdentitySet] = None - # The createdDateTime property + # The time when the bulk request was created. created_date_time: Optional[datetime.datetime] = None - # The destinationType property + # Indicates the restoration destination. The possible values are: new, inPlace, unknownFutureValue. destination_type: Optional[DestinationType] = None - # The displayName property + # Name of the addition request. display_name: Optional[str] = None - # The error property + # Error details are populated for resource resolution failures. error: Optional[PublicError] = None - # The lastModifiedBy property + # Identity of the person who last modified this entity. last_modified_by: Optional[IdentitySet] = None - # The lastModifiedDateTime property + # Timestamp when this entity was last modified. last_modified_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None - # The protectionTimePeriod property + # The start and end date and time of the protection period. protection_time_period: Optional[TimePeriod] = None - # The protectionUnitIds property + # Indicates which protection units to restore. This property isn't implemented yet. Future value; don't use. protection_unit_ids: Optional[list[str]] = None - # The restorePointPreference property + # Indicates which restore point to return. The possible values are: oldest, latest, unknownFutureValue. restore_point_preference: Optional[RestorePointPreference] = None # The status property status: Optional[RestoreArtifactsBulkRequestStatus] = None - # The tags property + # The type of the restore point. The possible values are: none, fastRestore, unknownFutureValue. tags: Optional[RestorePointTags] = None @staticmethod diff --git a/msgraph/generated/models/schedule_change_request.py b/msgraph/generated/models/schedule_change_request.py index 1ae1a9cdc19..f79fe60767f 100644 --- a/msgraph/generated/models/schedule_change_request.py +++ b/msgraph/generated/models/schedule_change_request.py @@ -20,21 +20,21 @@ class ScheduleChangeRequest(ChangeTrackedEntity, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.scheduleChangeRequest" - # The assignedTo property + # Indicates who the request is assigned to. Possible values are: sender, recipient, manager, system, unknownFutureValue. assigned_to: Optional[ScheduleChangeRequestActor] = None - # The managerActionDateTime property + # The date and time when the manager approved or declined the scheduleChangeRequest. 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. manager_action_date_time: Optional[datetime.datetime] = None - # The managerActionMessage property + # The message sent by the manager regarding the scheduleChangeRequest. Optional. manager_action_message: Optional[str] = None - # The managerUserId property + # The user ID of the manager who approved or declined the scheduleChangeRequest. manager_user_id: Optional[str] = None - # The senderDateTime property + # The date and time when the sender sent the scheduleChangeRequest. 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. sender_date_time: Optional[datetime.datetime] = None - # The senderMessage property + # The message sent by the sender of the scheduleChangeRequest. Optional. sender_message: Optional[str] = None - # The senderUserId property + # The user ID of the sender of the scheduleChangeRequest. sender_user_id: Optional[str] = None - # The state property + # The state of the scheduleChangeRequest. Possible values are: pending, approved, declined, unknownFutureValue. state: Optional[ScheduleChangeState] = None @staticmethod diff --git a/msgraph/generated/models/search_request.py b/msgraph/generated/models/search_request.py index d1cf2c8eb2e..b626d44360a 100644 --- a/msgraph/generated/models/search_request.py +++ b/msgraph/generated/models/search_request.py @@ -34,7 +34,7 @@ class SearchRequest(AdditionalDataHolder, BackedModel, Parsable): enable_top_results: Optional[bool] = None # One or more types of resources expected in the response. Possible values are: event, message, driveItem, externalItem, site, list, listItem, drive, chatMessage, person, acronym, bookmark. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: chatMessage, person, acronym, bookmark. See known limitations for those combinations of two or more entity types that are supported in the same search request. Required. entity_types: Optional[list[EntityType]] = None - # Contains the fields to be returned for each resource object specified in entityTypes, allowing customization of the fields returned by default; otherwise, including additional fields such as custom managed properties from SharePoint and OneDrive, or custom fields in externalItem from the content that Microsoft Graph connectors bring in. The fields property can use the semantic labels applied to properties. For example, if a property is labeled as title, you can retrieve it using the following syntax: label_title. Optional. + # Contains the fields to be returned for each resource object specified in entityTypes, allowing customization of the fields returned by default; otherwise, including additional fields such as custom managed properties from SharePoint and OneDrive, or custom fields in externalItem from the content that Microsoft 365 Copilot connectors bring in. The fields property can use the semantic labels applied to properties. For example, if a property is labeled as title, you can retrieve it using the following syntax: label_title. Optional. fields: Optional[list[str]] = None # Specifies the offset for the search results. Offset 0 returns the very first result. Optional. from_: Optional[int] = None diff --git a/msgraph/generated/models/security/alert.py b/msgraph/generated/models/security/alert.py index 1b361a49d7d..97c71e48647 100644 --- a/msgraph/generated/models/security/alert.py +++ b/msgraph/generated/models/security/alert.py @@ -39,11 +39,11 @@ class Alert(Entity, Parsable): comments: Optional[list[AlertComment]] = None # Time when Microsoft 365 Defender created the alert. created_date_time: Optional[datetime.datetime] = None - # The customDetails property + # User defined custom fields with string values. custom_details: Optional[Dictionary] = None # String value describing each alert. description: Optional[str] = None - # Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl. + # Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl, microsoftThreatIntelligence. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl, microsoftThreatIntelligence. detection_source: Optional[DetectionSource] = None # The ID of the detector that triggered the alert. detector_id: Optional[str] = None diff --git a/msgraph/generated/models/share_point_restore_session.py b/msgraph/generated/models/share_point_restore_session.py index 72fed549b09..4716cb0a331 100644 --- a/msgraph/generated/models/share_point_restore_session.py +++ b/msgraph/generated/models/share_point_restore_session.py @@ -17,7 +17,7 @@ class SharePointRestoreSession(RestoreSessionBase, Parsable): odata_type: Optional[str] = "#microsoft.graph.sharePointRestoreSession" # A collection of restore points and destination details that can be used to restore SharePoint sites. site_restore_artifacts: Optional[list[SiteRestoreArtifact]] = None - # The siteRestoreArtifactsBulkAdditionRequests property + # A collection of SharePoint site URLs and destination details that can be used to restore SharePoint sites. site_restore_artifacts_bulk_addition_requests: Optional[list[SiteRestoreArtifactsBulkAdditionRequest]] = None @staticmethod diff --git a/msgraph/generated/models/site_protection_units_bulk_addition_job.py b/msgraph/generated/models/site_protection_units_bulk_addition_job.py index 608af771ab3..557de3978ab 100644 --- a/msgraph/generated/models/site_protection_units_bulk_addition_job.py +++ b/msgraph/generated/models/site_protection_units_bulk_addition_job.py @@ -13,9 +13,9 @@ class SiteProtectionUnitsBulkAdditionJob(ProtectionUnitsBulkJobBase, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.siteProtectionUnitsBulkAdditionJob" - # The siteIds property + # The list of SharePoint site IDs to add to the SharePoint protection policy. site_ids: Optional[list[str]] = None - # The siteWebUrls property + # The list of SharePoint site URLs to add to the SharePoint protection policy. site_web_urls: Optional[list[str]] = None @staticmethod diff --git a/msgraph/generated/models/site_restore_artifacts_bulk_addition_request.py b/msgraph/generated/models/site_restore_artifacts_bulk_addition_request.py index cde44fd8d87..97aa80c77d3 100644 --- a/msgraph/generated/models/site_restore_artifacts_bulk_addition_request.py +++ b/msgraph/generated/models/site_restore_artifacts_bulk_addition_request.py @@ -13,9 +13,9 @@ class SiteRestoreArtifactsBulkAdditionRequest(RestoreArtifactsBulkRequestBase, Parsable): # The OdataType property odata_type: Optional[str] = None - # The siteIds property + # The list of SharePoint site IDs that are added to the corresponding SharePoint restore session in a bulk operation. site_ids: Optional[list[str]] = None - # The siteWebUrls property + # The list of SharePoint site URLs that are added to the corresponding SharePoint restore session in a bulk operation. site_web_urls: Optional[list[str]] = None @staticmethod diff --git a/msgraph/generated/models/swap_shifts_change_request.py b/msgraph/generated/models/swap_shifts_change_request.py index 129eb34c5ab..5706b7b4e77 100644 --- a/msgraph/generated/models/swap_shifts_change_request.py +++ b/msgraph/generated/models/swap_shifts_change_request.py @@ -13,7 +13,7 @@ class SwapShiftsChangeRequest(OfferShiftRequest, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.swapShiftsChangeRequest" - # ShiftId for the recipient user with whom the request is to swap. + # The recipient's Shift ID recipient_shift_id: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/time_off_request.py b/msgraph/generated/models/time_off_request.py index 6631e6f63d6..a19f275f3b3 100644 --- a/msgraph/generated/models/time_off_request.py +++ b/msgraph/generated/models/time_off_request.py @@ -14,9 +14,9 @@ class TimeOffRequest(ScheduleChangeRequest, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.timeOffRequest" - # The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + # The date and time the time off ends in ISO 8601 format and in UTC time. end_date_time: Optional[datetime.datetime] = None - # The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + # The date and time the time off starts in ISO 8601 format and in UTC time. start_date_time: Optional[datetime.datetime] = None # The reason for the time off. time_off_reason_id: Optional[str] = None diff --git a/msgraph/generated/organization/item/organization_item_request_builder.py b/msgraph/generated/organization/item/organization_item_request_builder.py index bf095e589eb..b4df83c26d7 100644 --- a/msgraph/generated/organization/item/organization_item_request_builder.py +++ b/msgraph/generated/organization/item/organization_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[OrganizationItemRequestBuilderGetQueryParameters]] = None) -> Optional[Organization]: """ - 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. + Read properties and relationships of the organization object. 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/organization-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-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: """ - 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. + Read properties and relationships of the organization object. 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(): """ - 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. + Read properties and relationships of the organization object. """ 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 9b9fe4c5965..314b4ec2fb3 100644 --- a/msgraph/generated/organization/organization_request_builder.py +++ b/msgraph/generated/organization/organization_request_builder.py @@ -53,10 +53,10 @@ def by_organization_id(self,organization_id: str) -> OrganizationItemRequestBuil async def get(self,request_configuration: Optional[RequestConfiguration[OrganizationRequestBuilderGetQueryParameters]] = None) -> Optional[OrganizationCollectionResponse]: """ - List properties and relationships of the organization objects. + Retrieve a list of organization objects. There's only one organization object in the collection. 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/intune-onboarding-organization-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/organization-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -97,7 +97,7 @@ async def post(self,body: Organization, request_configuration: Optional[RequestC def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OrganizationRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the organization objects. + Retrieve a list of organization objects. There's only one organization object in the collection. 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 OrganizationRequestBuilderGetQueryParameters(): """ - List properties and relationships of the organization objects. + Retrieve a list of organization objects. There's only one organization object in the collection. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py b/msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py index 5ec833a9ef9..65fc08e939c 100644 --- a/msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py +++ b/msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py @@ -72,11 +72,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Identity async def put(self,body: CrossTenantIdentitySyncPolicyPartner, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CrossTenantIdentitySyncPolicyPartner]: """ - Create a cross-tenant user synchronization policy for a partner-specific configuration. + Update the user synchronization policy of a partner-specific configuration. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CrossTenantIdentitySyncPolicyPartner] - Find more info here: https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationpartner-put-identitysynchronization?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/crosstenantidentitysyncpolicypartner-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_put_request_information(self,body: CrossTenantIdentitySyncPolicyPartner, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a cross-tenant user synchronization policy for a partner-specific configuration. + Update the user synchronization policy of a partner-specific configuration. 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/sites/item/lists/item/list_item_request_builder.py b/msgraph/generated/sites/item/lists/item/list_item_request_builder.py index 9eda627164d..71a3966b966 100644 --- a/msgraph/generated/sites/item/lists/item/list_item_request_builder.py +++ b/msgraph/generated/sites/item/lists/item/list_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[ListItemRequestBuilderGetQueryParameters]] = None) -> Optional[List_]: """ - Returns the metadata for a list. + Get a list of rich long-running operations associated with a list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[List_] - Find more info here: https://learn.microsoft.com/graph/api/list-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/list-list-operations?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[ListItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Returns the metadata for a list. + Get a list of rich long-running operations associated with a list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -228,7 +228,7 @@ class ListItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Quer @dataclass class ListItemRequestBuilderGetQueryParameters(): """ - Returns the metadata for a list. + Get a list of rich long-running operations associated with a list. """ 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 ca5975e1d69..6679ea6d6cd 100644 --- a/msgraph/generated/sites/sites_request_builder.py +++ b/msgraph/generated/sites/sites_request_builder.py @@ -52,10 +52,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 @@ -73,7 +73,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 """ @@ -140,7 +140,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/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units_bulk_addition_jobs/item/mailbox_protection_units_bulk_addition_job_item_request_builder.py b/msgraph/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units_bulk_addition_jobs/item/mailbox_protection_units_bulk_addition_job_item_request_builder.py index 8231e371297..19638f5af49 100644 --- a/msgraph/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units_bulk_addition_jobs/item/mailbox_protection_units_bulk_addition_job_item_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units_bulk_addition_jobs/item/mailbox_protection_units_bulk_addition_job_item_request_builder.py @@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[MailboxProtectionUnitsBulkAdditionJobItemRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxProtectionUnitsBulkAdditionJob]: """ - Get mailboxProtectionUnitsBulkAdditionJobs from solutions + Get a mailboxProtectionUnitsBulkAdditionJob object by the ID associated with an exchangeProtectionPolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxProtectionUnitsBulkAdditionJob] + Find more info here: https://learn.microsoft.com/graph/api/mailboxprotectionunitsbulkadditionjobs-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -52,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxP def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxProtectionUnitsBulkAdditionJobItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get mailboxProtectionUnitsBulkAdditionJobs from solutions + Get a mailboxProtectionUnitsBulkAdditionJob object by the ID associated with an exchangeProtectionPolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +75,7 @@ def with_url(self,raw_url: str) -> MailboxProtectionUnitsBulkAdditionJobItemRequ @dataclass class MailboxProtectionUnitsBulkAdditionJobItemRequestBuilderGetQueryParameters(): """ - Get mailboxProtectionUnitsBulkAdditionJobs from solutions + Get a mailboxProtectionUnitsBulkAdditionJob object by the ID associated with an exchangeProtectionPolicy. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units_bulk_addition_jobs/mailbox_protection_units_bulk_addition_jobs_request_builder.py b/msgraph/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units_bulk_addition_jobs/mailbox_protection_units_bulk_addition_jobs_request_builder.py index fb16d698798..bccf90ccb91 100644 --- a/msgraph/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units_bulk_addition_jobs/mailbox_protection_units_bulk_addition_jobs_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units_bulk_addition_jobs/mailbox_protection_units_bulk_addition_jobs_request_builder.py @@ -48,9 +48,10 @@ def by_mailbox_protection_units_bulk_addition_job_id(self,mailbox_protection_uni async def get(self,request_configuration: Optional[RequestConfiguration[MailboxProtectionUnitsBulkAdditionJobsRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxProtectionUnitsBulkAdditionJobCollectionResponse]: """ - Get mailboxProtectionUnitsBulkAdditionJobs from solutions + Get a list of mailboxProtectionUnitsBulkAdditionJobs objects associated with an exchangeProtectionPolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxProtectionUnitsBulkAdditionJobCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/exchangeprotectionpolicy-list-mailboxprotectionunitsbulkadditionjobs?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -68,7 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxP def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxProtectionUnitsBulkAdditionJobsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get mailboxProtectionUnitsBulkAdditionJobs from solutions + Get a list of mailboxProtectionUnitsBulkAdditionJobs objects associated with an exchangeProtectionPolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -99,7 +100,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MailboxProtectionUnitsBulkAdditionJobsRequestBuilderGetQueryParameters(): """ - Get mailboxProtectionUnitsBulkAdditionJobs from solutions + Get a list of mailboxProtectionUnitsBulkAdditionJobs objects associated with an exchangeProtectionPolicy. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/item/mailbox_restore_artifacts_bulk_addition_request_item_request_builder.py b/msgraph/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/item/mailbox_restore_artifacts_bulk_addition_request_item_request_builder.py index 517f381b154..d23fff4eedd 100644 --- a/msgraph/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/item/mailbox_restore_artifacts_bulk_addition_request_item_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/item/mailbox_restore_artifacts_bulk_addition_request_item_request_builder.py @@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete navigation property mailboxRestoreArtifactsBulkAdditionRequests for solutions + Delete a mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession. 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/mailboxrestoreartifactsbulkadditionrequest-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -50,9 +51,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxRestoreArtifactsBulkAdditionRequest]: """ - Get mailboxRestoreArtifactsBulkAdditionRequests from solutions + Get a mailboxRestoreArtifactsBulkAdditionRequest object by its id, associated with an exchangeRestoreSession. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxRestoreArtifactsBulkAdditionRequest] + Find more info here: https://learn.microsoft.com/graph/api/mailboxrestoreartifactsbulkadditionrequest-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -93,7 +95,7 @@ async def patch(self,body: MailboxRestoreArtifactsBulkAdditionRequest, request_c def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete navigation property mailboxRestoreArtifactsBulkAdditionRequests for solutions + Delete a mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get mailboxRestoreArtifactsBulkAdditionRequests from solutions + Get a mailboxRestoreArtifactsBulkAdditionRequest object by its id, associated with an exchangeRestoreSession. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +149,7 @@ class MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderDeleteRequestC @dataclass class MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters(): """ - Get mailboxRestoreArtifactsBulkAdditionRequests from solutions + Get a mailboxRestoreArtifactsBulkAdditionRequest object by its id, associated with an exchangeRestoreSession. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/mailbox_restore_artifacts_bulk_addition_requests_request_builder.py b/msgraph/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/mailbox_restore_artifacts_bulk_addition_requests_request_builder.py index 66726f406bd..3b14a48960a 100644 --- a/msgraph/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/mailbox_restore_artifacts_bulk_addition_requests_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/mailbox_restore_artifacts_bulk_addition_requests_request_builder.py @@ -49,9 +49,10 @@ def by_mailbox_restore_artifacts_bulk_addition_request_id(self,mailbox_restore_a async def get(self,request_configuration: Optional[RequestConfiguration[MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse]: """ - Get mailboxRestoreArtifactsBulkAdditionRequests from solutions + Get a list of the maiboxRestoreArtifactsBulkAdditionRequest objects associated with an exchangeRestoreSession. The mailboxes property is deliberately omitted from the response body in order to limit the response size. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/exchangerestoresession-list-mailboxrestoreartifactsbulkadditionrequests?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,10 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxR async def post(self,body: MailboxRestoreArtifactsBulkAdditionRequest, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MailboxRestoreArtifactsBulkAdditionRequest]: """ - Create new navigation property to mailboxRestoreArtifactsBulkAdditionRequests for solutions + Create a new mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession. The following steps describe how to create and manage an exchangeRestoreSession with bulk artifact additions: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxRestoreArtifactsBulkAdditionRequest] + Find more info here: https://learn.microsoft.com/graph/api/exchangerestoresession-post-mailboxrestoreartifactsbulkadditionrequests?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -92,7 +94,7 @@ async def post(self,body: MailboxRestoreArtifactsBulkAdditionRequest, request_co def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get mailboxRestoreArtifactsBulkAdditionRequests from solutions + Get a list of the maiboxRestoreArtifactsBulkAdditionRequest objects associated with an exchangeRestoreSession. The mailboxes property is deliberately omitted from the response body in order to limit the response size. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: MailboxRestoreArtifactsBulkAdditionRequest, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create new navigation property to mailboxRestoreArtifactsBulkAdditionRequests for solutions + Create a new mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession. The following steps describe how to create and manage an exchangeRestoreSession with bulk artifact additions: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -138,7 +140,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters(): """ - Get mailboxRestoreArtifactsBulkAdditionRequests from solutions + Get a list of the maiboxRestoreArtifactsBulkAdditionRequest objects associated with an exchangeRestoreSession. The mailboxes property is deliberately omitted from the response body in order to limit the response size. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units_bulk_addition_jobs/drive_protection_units_bulk_addition_jobs_request_builder.py b/msgraph/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units_bulk_addition_jobs/drive_protection_units_bulk_addition_jobs_request_builder.py index 15b52ceff51..fab646a7ce4 100644 --- a/msgraph/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units_bulk_addition_jobs/drive_protection_units_bulk_addition_jobs_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units_bulk_addition_jobs/drive_protection_units_bulk_addition_jobs_request_builder.py @@ -48,9 +48,10 @@ def by_drive_protection_units_bulk_addition_job_id(self,drive_protection_units_b async def get(self,request_configuration: Optional[RequestConfiguration[DriveProtectionUnitsBulkAdditionJobsRequestBuilderGetQueryParameters]] = None) -> Optional[DriveProtectionUnitsBulkAdditionJobCollectionResponse]: """ - Get driveProtectionUnitsBulkAdditionJobs from solutions + Get a list of driveProtectionUnitsBulkAdditionJobs objects associated with a oneDriveForBusinessProtectionPolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveProtectionUnitsBulkAdditionJobCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/onedriveforbusinessprotectionpolicy-list-driveprotectionunitsbulkadditionjobs?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -68,7 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DrivePro def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DriveProtectionUnitsBulkAdditionJobsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get driveProtectionUnitsBulkAdditionJobs from solutions + Get a list of driveProtectionUnitsBulkAdditionJobs objects associated with a oneDriveForBusinessProtectionPolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -99,7 +100,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DriveProtectionUnitsBulkAdditionJobsRequestBuilderGetQueryParameters(): """ - Get driveProtectionUnitsBulkAdditionJobs from solutions + Get a list of driveProtectionUnitsBulkAdditionJobs objects associated with a oneDriveForBusinessProtectionPolicy. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units_bulk_addition_jobs/item/drive_protection_units_bulk_addition_job_item_request_builder.py b/msgraph/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units_bulk_addition_jobs/item/drive_protection_units_bulk_addition_job_item_request_builder.py index b3edbfce64b..e7c33b02907 100644 --- a/msgraph/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units_bulk_addition_jobs/item/drive_protection_units_bulk_addition_job_item_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units_bulk_addition_jobs/item/drive_protection_units_bulk_addition_job_item_request_builder.py @@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[DriveProtectionUnitsBulkAdditionJobItemRequestBuilderGetQueryParameters]] = None) -> Optional[DriveProtectionUnitsBulkAdditionJob]: """ - Get driveProtectionUnitsBulkAdditionJobs from solutions + Get a driveProtectionUnitsBulkAdditionJob object by the ID associated with a oneDriveForBusinessProtectionPolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveProtectionUnitsBulkAdditionJob] + Find more info here: https://learn.microsoft.com/graph/api/driveprotectionunitsbulkadditionjobs-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -52,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DrivePro def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DriveProtectionUnitsBulkAdditionJobItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get driveProtectionUnitsBulkAdditionJobs from solutions + Get a driveProtectionUnitsBulkAdditionJob object by the ID associated with a oneDriveForBusinessProtectionPolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +75,7 @@ def with_url(self,raw_url: str) -> DriveProtectionUnitsBulkAdditionJobItemReques @dataclass class DriveProtectionUnitsBulkAdditionJobItemRequestBuilderGetQueryParameters(): """ - Get driveProtectionUnitsBulkAdditionJobs from solutions + Get a driveProtectionUnitsBulkAdditionJob object by the ID associated with a oneDriveForBusinessProtectionPolicy. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts/item/drive_restore_artifact_item_request_builder.py b/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts/item/drive_restore_artifact_item_request_builder.py index 42bad51bf78..7decbdf68e7 100644 --- a/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts/item/drive_restore_artifact_item_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts/item/drive_restore_artifact_item_request_builder.py @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[DriveRestoreArtifactItemRequestBuilderGetQueryParameters]] = None) -> Optional[DriveRestoreArtifact]: """ - A collection of restore points and destination details that can be used to restore a OneDrive for Business drive. + A collection of restore points and destination details that can be used to restore a OneDrive for work or school drive. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveRestoreArtifact] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DriveRestoreArtifactItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - A collection of restore points and destination details that can be used to restore a OneDrive for Business drive. + A collection of restore points and destination details that can be used to restore a OneDrive for work or school drive. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -157,7 +157,7 @@ class DriveRestoreArtifactItemRequestBuilderDeleteRequestConfiguration(RequestCo @dataclass class DriveRestoreArtifactItemRequestBuilderGetQueryParameters(): """ - A collection of restore points and destination details that can be used to restore a OneDrive for Business drive. + A collection of restore points and destination details that can be used to restore a OneDrive for work or school drive. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/drive_restore_artifacts_bulk_addition_requests_request_builder.py b/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/drive_restore_artifacts_bulk_addition_requests_request_builder.py index e8f941fd4f4..46fc8982697 100644 --- a/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/drive_restore_artifacts_bulk_addition_requests_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/drive_restore_artifacts_bulk_addition_requests_request_builder.py @@ -49,9 +49,10 @@ def by_drive_restore_artifacts_bulk_addition_request_id(self,drive_restore_artif async def get(self,request_configuration: Optional[RequestConfiguration[DriveRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters]] = None) -> Optional[DriveRestoreArtifactsBulkAdditionRequestCollectionResponse]: """ - Get driveRestoreArtifactsBulkAdditionRequests from solutions + Get a list of the driveRestoreArtifactsBulkAdditionRequest objects associated with a oneDriveForBusinessRestoreSession. The drives property is deliberately omitted from the response body in order to limit the response size. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveRestoreArtifactsBulkAdditionRequestCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/onedriveforbusinessrestoresession-list-driverestoreartifactsbulkadditionrequests?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,10 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DriveRes async def post(self,body: DriveRestoreArtifactsBulkAdditionRequest, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DriveRestoreArtifactsBulkAdditionRequest]: """ - Create new navigation property to driveRestoreArtifactsBulkAdditionRequests for solutions + Create a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession. The following steps describe how to create and manage a oneDriveForBusinessRestoreSession with bulk artifact additions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveRestoreArtifactsBulkAdditionRequest] + Find more info here: https://learn.microsoft.com/graph/api/onedriveforbusinessrestoresession-post-driverestoreartifactsbulkadditionrequests?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -92,7 +94,7 @@ async def post(self,body: DriveRestoreArtifactsBulkAdditionRequest, request_conf def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DriveRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get driveRestoreArtifactsBulkAdditionRequests from solutions + Get a list of the driveRestoreArtifactsBulkAdditionRequest objects associated with a oneDriveForBusinessRestoreSession. The drives property is deliberately omitted from the response body in order to limit the response size. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: DriveRestoreArtifactsBulkAdditionRequest, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create new navigation property to driveRestoreArtifactsBulkAdditionRequests for solutions + Create a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession. The following steps describe how to create and manage a oneDriveForBusinessRestoreSession with bulk artifact additions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -138,7 +140,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DriveRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters(): """ - Get driveRestoreArtifactsBulkAdditionRequests from solutions + Get a list of the driveRestoreArtifactsBulkAdditionRequest objects associated with a oneDriveForBusinessRestoreSession. The drives property is deliberately omitted from the response body in order to limit the response size. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/item/drive_restore_artifacts_bulk_addition_request_item_request_builder.py b/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/item/drive_restore_artifacts_bulk_addition_request_item_request_builder.py index f9b8802ebaa..d07bc64aed4 100644 --- a/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/item/drive_restore_artifacts_bulk_addition_request_item_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/item/drive_restore_artifacts_bulk_addition_request_item_request_builder.py @@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete navigation property driveRestoreArtifactsBulkAdditionRequests for solutions + Delete a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession. 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/driverestoreartifactsbulkadditionrequest-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -50,9 +51,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters]] = None) -> Optional[DriveRestoreArtifactsBulkAdditionRequest]: """ - Get driveRestoreArtifactsBulkAdditionRequests from solutions + Get a driveRestoreArtifactsBulkAdditionRequest object by its id, associated with a oneDriveForBusinessRestoreSession. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveRestoreArtifactsBulkAdditionRequest] + Find more info here: https://learn.microsoft.com/graph/api/driverestoreartifactsbulkadditionrequest-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -93,7 +95,7 @@ async def patch(self,body: DriveRestoreArtifactsBulkAdditionRequest, request_con def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete navigation property driveRestoreArtifactsBulkAdditionRequests for solutions + Delete a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get driveRestoreArtifactsBulkAdditionRequests from solutions + Get a driveRestoreArtifactsBulkAdditionRequest object by its id, associated with a oneDriveForBusinessRestoreSession. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +149,7 @@ class DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderDeleteRequestCon @dataclass class DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters(): """ - Get driveRestoreArtifactsBulkAdditionRequests from solutions + Get a driveRestoreArtifactsBulkAdditionRequest object by its id, associated with a oneDriveForBusinessRestoreSession. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units_bulk_addition_jobs/item/site_protection_units_bulk_addition_job_item_request_builder.py b/msgraph/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units_bulk_addition_jobs/item/site_protection_units_bulk_addition_job_item_request_builder.py index 6f5722ffb3e..d1448d8cc7a 100644 --- a/msgraph/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units_bulk_addition_jobs/item/site_protection_units_bulk_addition_job_item_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units_bulk_addition_jobs/item/site_protection_units_bulk_addition_job_item_request_builder.py @@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[SiteProtectionUnitsBulkAdditionJobItemRequestBuilderGetQueryParameters]] = None) -> Optional[SiteProtectionUnitsBulkAdditionJob]: """ - Get siteProtectionUnitsBulkAdditionJobs from solutions + Get a siteProtectionUnitsBulkAdditionJob object by the ID associated with a sharePointProtectionPolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteProtectionUnitsBulkAdditionJob] + Find more info here: https://learn.microsoft.com/graph/api/siteprotectionunitsbulkadditionjobs-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -52,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteProt def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SiteProtectionUnitsBulkAdditionJobItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get siteProtectionUnitsBulkAdditionJobs from solutions + Get a siteProtectionUnitsBulkAdditionJob object by the ID associated with a sharePointProtectionPolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +75,7 @@ def with_url(self,raw_url: str) -> SiteProtectionUnitsBulkAdditionJobItemRequest @dataclass class SiteProtectionUnitsBulkAdditionJobItemRequestBuilderGetQueryParameters(): """ - Get siteProtectionUnitsBulkAdditionJobs from solutions + Get a siteProtectionUnitsBulkAdditionJob object by the ID associated with a sharePointProtectionPolicy. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units_bulk_addition_jobs/site_protection_units_bulk_addition_jobs_request_builder.py b/msgraph/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units_bulk_addition_jobs/site_protection_units_bulk_addition_jobs_request_builder.py index c601d690eb9..1983895dd5c 100644 --- a/msgraph/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units_bulk_addition_jobs/site_protection_units_bulk_addition_jobs_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units_bulk_addition_jobs/site_protection_units_bulk_addition_jobs_request_builder.py @@ -48,9 +48,10 @@ def by_site_protection_units_bulk_addition_job_id(self,site_protection_units_bul async def get(self,request_configuration: Optional[RequestConfiguration[SiteProtectionUnitsBulkAdditionJobsRequestBuilderGetQueryParameters]] = None) -> Optional[SiteProtectionUnitsBulkAdditionJobCollectionResponse]: """ - Get siteProtectionUnitsBulkAdditionJobs from solutions + Get a list of siteProtectionUnitsBulkAdditionJobs objects associated with a sharePointProtectionPolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteProtectionUnitsBulkAdditionJobCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/sharepointprotectionpolicy-list-siteprotectionunitsbulkadditionjobs?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -68,7 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteProt def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SiteProtectionUnitsBulkAdditionJobsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get siteProtectionUnitsBulkAdditionJobs from solutions + Get a list of siteProtectionUnitsBulkAdditionJobs objects associated with a sharePointProtectionPolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -99,7 +100,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SiteProtectionUnitsBulkAdditionJobsRequestBuilderGetQueryParameters(): """ - Get siteProtectionUnitsBulkAdditionJobs from solutions + Get a list of siteProtectionUnitsBulkAdditionJobs objects associated with a sharePointProtectionPolicy. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/item/site_restore_artifacts_bulk_addition_request_item_request_builder.py b/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/item/site_restore_artifacts_bulk_addition_request_item_request_builder.py index e7678da6a2b..1c0dee096d4 100644 --- a/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/item/site_restore_artifacts_bulk_addition_request_item_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/item/site_restore_artifacts_bulk_addition_request_item_request_builder.py @@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete navigation property siteRestoreArtifactsBulkAdditionRequests for solutions + Delete a siteRestoreArtifactsBulkAdditionRequest object associated with a sharepointRestoreSession. 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/siterestoreartifactsbulkadditionrequest-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -50,9 +51,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters]] = None) -> Optional[SiteRestoreArtifactsBulkAdditionRequest]: """ - Get siteRestoreArtifactsBulkAdditionRequests from solutions + Get a siteRestoreArtifactsBulkAdditionRequest object by its id, associated with a sharePointRestoreSession. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteRestoreArtifactsBulkAdditionRequest] + Find more info here: https://learn.microsoft.com/graph/api/siterestoreartifactsbulkadditionrequest-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -93,7 +95,7 @@ async def patch(self,body: SiteRestoreArtifactsBulkAdditionRequest, request_conf def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete navigation property siteRestoreArtifactsBulkAdditionRequests for solutions + Delete a siteRestoreArtifactsBulkAdditionRequest object associated with a sharepointRestoreSession. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get siteRestoreArtifactsBulkAdditionRequests from solutions + Get a siteRestoreArtifactsBulkAdditionRequest object by its id, associated with a sharePointRestoreSession. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +149,7 @@ class SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderDeleteRequestConf @dataclass class SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters(): """ - Get siteRestoreArtifactsBulkAdditionRequests from solutions + Get a siteRestoreArtifactsBulkAdditionRequest object by its id, associated with a sharePointRestoreSession. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/site_restore_artifacts_bulk_addition_requests_request_builder.py b/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/site_restore_artifacts_bulk_addition_requests_request_builder.py index b0868206ff3..f6231274d39 100644 --- a/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/site_restore_artifacts_bulk_addition_requests_request_builder.py +++ b/msgraph/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/site_restore_artifacts_bulk_addition_requests_request_builder.py @@ -49,9 +49,10 @@ def by_site_restore_artifacts_bulk_addition_request_id(self,site_restore_artifac async def get(self,request_configuration: Optional[RequestConfiguration[SiteRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters]] = None) -> Optional[SiteRestoreArtifactsBulkAdditionRequestCollectionResponse]: """ - Get siteRestoreArtifactsBulkAdditionRequests from solutions + Get a list of the siteRestoreArtifactsBulkAdditionRequest objects associated with a sharePointRestoreSession. The siteWebUrls property is deliberately omitted from the response body in order to limit the response size. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteRestoreArtifactsBulkAdditionRequestCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/sharepointrestoresession-list-siterestoreartifactsbulkadditionrequests?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,10 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteRest async def post(self,body: SiteRestoreArtifactsBulkAdditionRequest, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[SiteRestoreArtifactsBulkAdditionRequest]: """ - Create new navigation property to siteRestoreArtifactsBulkAdditionRequests for solutions + Create a new siteRestoreArtifactsBulkAdditionRequest object associated with a sharePointRestoreSession. The following steps describe how to create and manage a sharePointRestoreSession with bulk artifact additions: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteRestoreArtifactsBulkAdditionRequest] + Find more info here: https://learn.microsoft.com/graph/api/sharepointrestoresession-post-siterestoreartifactsbulkadditionrequests?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -92,7 +94,7 @@ async def post(self,body: SiteRestoreArtifactsBulkAdditionRequest, request_confi def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SiteRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get siteRestoreArtifactsBulkAdditionRequests from solutions + Get a list of the siteRestoreArtifactsBulkAdditionRequest objects associated with a sharePointRestoreSession. The siteWebUrls property is deliberately omitted from the response body in order to limit the response size. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: SiteRestoreArtifactsBulkAdditionRequest, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create new navigation property to siteRestoreArtifactsBulkAdditionRequests for solutions + Create a new siteRestoreArtifactsBulkAdditionRequest object associated with a sharePointRestoreSession. The following steps describe how to create and manage a sharePointRestoreSession with bulk artifact additions: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -138,7 +140,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SiteRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters(): """ - Get siteRestoreArtifactsBulkAdditionRequests from solutions + Get a list of the siteRestoreArtifactsBulkAdditionRequest objects associated with a sharePointRestoreSession. The siteWebUrls property is deliberately omitted from the response body in order to limit the response size. """ def get_query_parameter(self,original_name: str) -> str: """ 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 f6333aa39cb..d7d47ffec94 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 @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RepliesR async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Create a new reply to a chatMessage in a specified channel. + Send 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/channel-post-messagereply?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -106,7 +106,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: """ - Create a new reply to a chatMessage in a specified channel. + Send 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/teams/item/schedule/time_cards/clock_in/clock_in_post_request_body.py b/msgraph/generated/teams/item/schedule/time_cards/clock_in/clock_in_post_request_body.py index 9acc4c6fec9..4b8ca9e7cde 100644 --- a/msgraph/generated/teams/item/schedule/time_cards/clock_in/clock_in_post_request_body.py +++ b/msgraph/generated/teams/item/schedule/time_cards/clock_in/clock_in_post_request_body.py @@ -19,6 +19,8 @@ class ClockInPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): is_at_approved_location: Optional[bool] = None # The notes property notes: Optional[ItemBody] = None + # The onBehalfOfUserId property + on_behalf_of_user_id: Optional[str] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> ClockInPostRequestBody: @@ -43,6 +45,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: fields: dict[str, Callable[[Any], None]] = { "isAtApprovedLocation": lambda n : setattr(self, 'is_at_approved_location', n.get_bool_value()), "notes": lambda n : setattr(self, 'notes', n.get_object_value(ItemBody)), + "onBehalfOfUserId": lambda n : setattr(self, 'on_behalf_of_user_id', n.get_str_value()), } return fields @@ -56,6 +59,7 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") writer.write_bool_value("isAtApprovedLocation", self.is_at_approved_location) writer.write_object_value("notes", self.notes) + writer.write_str_value("onBehalfOfUserId", self.on_behalf_of_user_id) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/teams/item/schedule/time_off_requests/time_off_requests_request_builder.py b/msgraph/generated/teams/item/schedule/time_off_requests/time_off_requests_request_builder.py index e175b7a17e0..4c2b9ad23c1 100644 --- a/msgraph/generated/teams/item/schedule/time_off_requests/time_off_requests_request_builder.py +++ b/msgraph/generated/teams/item/schedule/time_off_requests/time_off_requests_request_builder.py @@ -70,10 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TimeOffR async def post(self,body: TimeOffRequest, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[TimeOffRequest]: """ - Create new navigation property to timeOffRequests for teams + Create instance of a timeoffrequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffRequest] + Find more info here: https://learn.microsoft.com/graph/api/timeoffrequest-post?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -104,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: TimeOffRequest, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create new navigation property to timeOffRequests for teams + Create instance of a timeoffrequest 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/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 0e452ac20de..e7a7de2e992 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 @@ -55,11 +55,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MultiTen async def patch(self,body: MultiTenantOrganization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MultiTenantOrganization]: """ - Update the properties of a multitenant organization. + 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. 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/multitenantorganization-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/tenantrelationship-put-multitenantorganization?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -90,7 +90,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: """ - Update the properties of a multitenant organization. + 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. 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/joined_teams/item/schedule/time_cards/clock_in/clock_in_post_request_body.py b/msgraph/generated/users/item/joined_teams/item/schedule/time_cards/clock_in/clock_in_post_request_body.py index cf1e5bd6a22..a6962678b4d 100644 --- a/msgraph/generated/users/item/joined_teams/item/schedule/time_cards/clock_in/clock_in_post_request_body.py +++ b/msgraph/generated/users/item/joined_teams/item/schedule/time_cards/clock_in/clock_in_post_request_body.py @@ -19,6 +19,8 @@ class ClockInPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): is_at_approved_location: Optional[bool] = None # The notes property notes: Optional[ItemBody] = None + # The onBehalfOfUserId property + on_behalf_of_user_id: Optional[str] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> ClockInPostRequestBody: @@ -43,6 +45,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: fields: dict[str, Callable[[Any], None]] = { "isAtApprovedLocation": lambda n : setattr(self, 'is_at_approved_location', n.get_bool_value()), "notes": lambda n : setattr(self, 'notes', n.get_object_value(ItemBody)), + "onBehalfOfUserId": lambda n : setattr(self, 'on_behalf_of_user_id', n.get_str_value()), } return fields @@ -56,6 +59,7 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") writer.write_bool_value("isAtApprovedLocation", self.is_at_approved_location) writer.write_object_value("notes", self.notes) + writer.write_str_value("onBehalfOfUserId", self.on_behalf_of_user_id) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/users/item/presence/presence_request_builder.py b/msgraph/generated/users/item/presence/presence_request_builder.py index 3c4c0217c71..5ae98de378d 100644 --- a/msgraph/generated/users/item/presence/presence_request_builder.py +++ b/msgraph/generated/users/item/presence/presence_request_builder.py @@ -55,10 +55,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 aaea86a5317..7546927775b 100644 --- a/msgraph/generated/users/item/user_item_request_builder.py +++ b/msgraph/generated/users/item/user_item_request_builder.py @@ -108,10 +108,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. + Deletes a user. 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/user-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-user-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -202,7 +202,7 @@ def reminder_view_with_start_date_time_with_end_date_time(self,end_date_time: st def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. + Deletes a user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ 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 048fe5865e5..c4d78430cd2 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 @@ -35,10 +35,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. + Deletes a user. 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/user-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-user-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -99,7 +99,7 @@ async def patch(self,body: User, request_configuration: Optional[RequestConfigur def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. + Deletes a user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """