msgraph-sdk 1.50.0__py3-none-any.whl → 1.52.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (445) hide show
  1. msgraph/_version.py +1 -1
  2. msgraph/generated/admin/admin_request_builder.py +10 -0
  3. msgraph/generated/admin/teams/teams_request_builder.py +198 -0
  4. msgraph/generated/admin/teams/user_configurations/count/count_request_builder.py +104 -0
  5. msgraph/generated/admin/teams/user_configurations/item/teams_user_configuration_item_request_builder.py +199 -0
  6. msgraph/generated/admin/teams/user_configurations/item/user/mailbox_settings/mailbox_settings_request_builder.py +152 -0
  7. msgraph/generated/admin/teams/user_configurations/item/user/service_provisioning_errors/count/count_request_builder.py +104 -0
  8. msgraph/generated/admin/teams/user_configurations/item/user/service_provisioning_errors/service_provisioning_errors_request_builder.py +147 -0
  9. msgraph/generated/admin/teams/user_configurations/item/user/user_request_builder.py +127 -0
  10. msgraph/generated/admin/teams/user_configurations/user_configurations_request_builder.py +209 -0
  11. msgraph/generated/applications/item/federated_identity_credentials/federated_identity_credentials_request_builder.py +5 -5
  12. msgraph/generated/applications/item/federated_identity_credentials/item/federated_identity_credential_item_request_builder.py +3 -3
  13. msgraph/generated/applications/item/federated_identity_credentials_with_name/federated_identity_credentials_with_name_request_builder.py +3 -3
  14. msgraph/generated/communications/adhoc_calls/adhoc_calls_request_builder.py +208 -0
  15. msgraph/generated/communications/adhoc_calls/count/count_request_builder.py +104 -0
  16. msgraph/generated/communications/adhoc_calls/item/adhoc_call_item_request_builder.py +208 -0
  17. msgraph/generated/communications/adhoc_calls/item/recordings/count/count_request_builder.py +104 -0
  18. msgraph/generated/communications/adhoc_calls/item/recordings/delta/delta_get_response.py +58 -0
  19. msgraph/generated/communications/adhoc_calls/item/recordings/delta/delta_request_builder.py +137 -0
  20. msgraph/generated/communications/adhoc_calls/item/recordings/item/call_recording_item_request_builder.py +198 -0
  21. msgraph/generated/communications/adhoc_calls/item/recordings/item/content/content_request_builder.py +160 -0
  22. msgraph/generated/communications/adhoc_calls/item/recordings/recordings_request_builder.py +218 -0
  23. msgraph/generated/communications/adhoc_calls/item/transcripts/count/count_request_builder.py +104 -0
  24. msgraph/generated/communications/adhoc_calls/item/transcripts/delta/delta_get_response.py +58 -0
  25. msgraph/generated/communications/adhoc_calls/item/transcripts/delta/delta_request_builder.py +137 -0
  26. msgraph/generated/communications/adhoc_calls/item/transcripts/item/call_transcript_item_request_builder.py +208 -0
  27. msgraph/generated/communications/adhoc_calls/item/transcripts/item/content/content_request_builder.py +160 -0
  28. msgraph/generated/communications/adhoc_calls/item/transcripts/item/metadata_content/metadata_content_request_builder.py +157 -0
  29. msgraph/generated/communications/adhoc_calls/item/transcripts/transcripts_request_builder.py +218 -0
  30. msgraph/generated/communications/communications_request_builder.py +10 -0
  31. msgraph/generated/communications/presences/item/clear_automatic_location/clear_automatic_location_request_builder.py +79 -0
  32. msgraph/generated/communications/presences/item/clear_location/clear_location_request_builder.py +79 -0
  33. msgraph/generated/communications/presences/item/presence_item_request_builder.py +40 -0
  34. msgraph/generated/communications/presences/item/set_automatic_location/set_automatic_location_post_request_body.py +61 -0
  35. msgraph/generated/communications/presences/item/set_automatic_location/set_automatic_location_request_builder.py +87 -0
  36. msgraph/generated/communications/presences/item/set_manual_location/set_manual_location_post_request_body.py +61 -0
  37. msgraph/generated/communications/presences/item/set_manual_location/set_manual_location_request_builder.py +87 -0
  38. msgraph/generated/device_management/virtual_endpoint/cloud_p_cs/item/cloud_p_c_item_request_builder.py +20 -0
  39. msgraph/generated/device_management/virtual_endpoint/cloud_p_cs/item/reprovision/reprovision_post_request_body.py +64 -0
  40. msgraph/generated/device_management/virtual_endpoint/cloud_p_cs/item/reprovision/reprovision_request_builder.py +87 -0
  41. msgraph/generated/device_management/virtual_endpoint/cloud_p_cs/item/retrieve_cloud_pc_launch_detail/retrieve_cloud_pc_launch_detail_request_builder.py +82 -0
  42. msgraph/generated/device_management/virtual_endpoint/report/report_request_builder.py +198 -0
  43. msgraph/generated/device_management/virtual_endpoint/report/retrieve_cloud_pc_recommendation_reports/retrieve_cloud_pc_recommendation_reports_post_request_body.py +85 -0
  44. msgraph/generated/device_management/virtual_endpoint/report/retrieve_cloud_pc_recommendation_reports/retrieve_cloud_pc_recommendation_reports_request_builder.py +87 -0
  45. msgraph/generated/device_management/virtual_endpoint/virtual_endpoint_request_builder.py +10 -0
  46. msgraph/generated/drives/item/recent/recent_request_builder.py +3 -0
  47. msgraph/generated/drives/item/shared_with_me/shared_with_me_request_builder.py +3 -0
  48. msgraph/generated/kiota-dom-export.txt +1954 -1
  49. msgraph/generated/kiota-lock.json +1 -1
  50. msgraph/generated/models/access_review_history_definition.py +1 -1
  51. msgraph/generated/models/account_target_content.py +1 -1
  52. msgraph/generated/models/action_item.py +62 -0
  53. msgraph/generated/models/adhoc_call.py +67 -0
  54. msgraph/generated/models/adhoc_call_collection_response.py +58 -0
  55. msgraph/generated/models/admin.py +7 -0
  56. msgraph/generated/models/agreement_acceptance.py +1 -1
  57. msgraph/generated/models/ai_online_meeting.py +60 -0
  58. msgraph/generated/models/ai_user.py +7 -0
  59. msgraph/generated/models/alert.py +1 -1
  60. msgraph/generated/models/allowed_target_scope.py +1 -0
  61. msgraph/generated/models/alteration_response.py +1 -1
  62. msgraph/generated/models/application.py +1 -1
  63. msgraph/generated/models/applied_conditional_access_policy.py +1 -1
  64. msgraph/generated/models/assigned_place_mode.py +2 -2
  65. msgraph/generated/models/attachment_item.py +1 -1
  66. msgraph/generated/models/attack_simulation_operation.py +1 -1
  67. msgraph/generated/models/attendance_record.py +1 -1
  68. msgraph/generated/models/attribute_definition_metadata_entry.py +1 -1
  69. msgraph/generated/models/authentication_method_configuration.py +1 -1
  70. msgraph/generated/models/authentication_method_feature_configuration.py +1 -1
  71. msgraph/generated/models/authorization_policy.py +1 -1
  72. msgraph/generated/models/availability_item.py +1 -1
  73. msgraph/generated/models/base_map_feature.py +1 -1
  74. msgraph/generated/models/bit_locker_removable_drive_policy.py +1 -1
  75. msgraph/generated/models/building.py +9 -2
  76. msgraph/generated/models/building_map.py +3 -3
  77. msgraph/generated/models/calculated_column.py +2 -2
  78. msgraph/generated/models/calendar.py +2 -2
  79. msgraph/generated/models/calendar_permission.py +1 -1
  80. msgraph/generated/models/call.py +2 -2
  81. msgraph/generated/models/call_ai_insight.py +91 -0
  82. msgraph/generated/models/call_ai_insight_view_point.py +61 -0
  83. msgraph/generated/models/call_ended_event_message_detail.py +1 -1
  84. msgraph/generated/models/call_media_state.py +1 -1
  85. msgraph/generated/models/call_recording_event_message_detail.py +1 -1
  86. msgraph/generated/models/call_records/call_record.py +1 -1
  87. msgraph/generated/models/call_records/media_stream.py +2 -2
  88. msgraph/generated/models/call_records/session.py +1 -1
  89. msgraph/generated/models/call_started_event_message_detail.py +1 -1
  90. msgraph/generated/models/check_in_claim.py +2 -2
  91. msgraph/generated/models/cloud_app_security_session_control.py +1 -1
  92. msgraph/generated/models/cloud_communications.py +7 -0
  93. msgraph/generated/models/cloud_p_c.py +1 -1
  94. msgraph/generated/models/cloud_pc_device_image.py +3 -3
  95. msgraph/generated/models/cloud_pc_domain_join_configuration.py +2 -2
  96. msgraph/generated/models/cloud_pc_gallery_image.py +1 -1
  97. msgraph/generated/models/cloud_pc_launch_detail.py +73 -0
  98. msgraph/generated/models/cloud_pc_on_premises_connection_health_check.py +1 -1
  99. msgraph/generated/models/cloud_pc_operating_system.py +7 -0
  100. msgraph/generated/models/cloud_pc_provisioning_policy.py +1 -1
  101. msgraph/generated/models/cloud_pc_recommendation_report_type.py +6 -0
  102. msgraph/generated/models/cloud_pc_report.py +53 -0
  103. msgraph/generated/models/cloud_pc_restore_point_setting.py +1 -1
  104. msgraph/generated/models/cloud_pc_user_account_type.py +7 -0
  105. msgraph/generated/models/communications_identity_set.py +1 -1
  106. msgraph/generated/models/company_subscription.py +1 -1
  107. msgraph/generated/models/conditional_access_condition_set.py +4 -4
  108. msgraph/generated/models/conditional_access_external_tenants.py +1 -1
  109. msgraph/generated/models/conditional_access_platforms.py +2 -2
  110. msgraph/generated/models/contract.py +1 -1
  111. msgraph/generated/models/custom_training_setting.py +1 -1
  112. msgraph/generated/models/data_policy_operation.py +1 -1
  113. msgraph/generated/models/desk.py +10 -3
  114. msgraph/generated/models/device.py +3 -3
  115. msgraph/generated/models/directory_audit.py +1 -1
  116. msgraph/generated/models/education_assignment.py +1 -1
  117. msgraph/generated/models/education_assignment_defaults.py +1 -1
  118. msgraph/generated/models/education_class.py +1 -1
  119. msgraph/generated/models/education_module.py +1 -1
  120. msgraph/generated/models/education_organization.py +1 -1
  121. msgraph/generated/models/education_submission.py +1 -1
  122. msgraph/generated/models/education_user.py +1 -1
  123. msgraph/generated/models/email_authentication_method_configuration.py +1 -1
  124. msgraph/generated/models/email_file_assessment_request.py +1 -1
  125. msgraph/generated/models/end_user_notification.py +3 -3
  126. msgraph/generated/models/end_user_notification_setting.py +2 -2
  127. msgraph/generated/models/entity.py +84 -0
  128. msgraph/generated/models/event.py +3 -3
  129. msgraph/generated/models/event_message_response.py +1 -1
  130. msgraph/generated/models/external_connectors/connection_operation.py +1 -1
  131. msgraph/generated/models/external_connectors/external_connection.py +1 -1
  132. msgraph/generated/models/external_connectors/identity.py +1 -1
  133. msgraph/generated/models/fido2_authentication_method.py +1 -1
  134. msgraph/generated/models/fido2_key_restrictions.py +1 -1
  135. msgraph/generated/models/file_hash.py +1 -1
  136. msgraph/generated/models/file_storage.py +16 -2
  137. msgraph/generated/models/file_storage_container.py +7 -0
  138. msgraph/generated/models/file_storage_container_billing_classification.py +8 -0
  139. msgraph/generated/models/file_storage_container_billing_status.py +7 -0
  140. msgraph/generated/models/file_storage_container_type.py +96 -0
  141. msgraph/generated/models/file_storage_container_type_app_permission.py +20 -0
  142. msgraph/generated/models/file_storage_container_type_app_permission_grant.py +69 -0
  143. msgraph/generated/models/file_storage_container_type_app_permission_grant_collection_response.py +58 -0
  144. msgraph/generated/models/file_storage_container_type_collection_response.py +58 -0
  145. msgraph/generated/models/file_storage_container_type_registration.py +103 -0
  146. msgraph/generated/models/file_storage_container_type_registration_collection_response.py +58 -0
  147. msgraph/generated/models/file_storage_container_type_registration_settings.py +89 -0
  148. msgraph/generated/models/file_storage_container_type_settings.py +96 -0
  149. msgraph/generated/models/file_storage_container_type_settings_override.py +11 -0
  150. msgraph/generated/models/filter_operator_schema.py +1 -1
  151. msgraph/generated/models/fixture_map.py +1 -1
  152. msgraph/generated/models/floor.py +1 -1
  153. msgraph/generated/models/group.py +1 -1
  154. msgraph/generated/models/initiator.py +1 -1
  155. msgraph/generated/models/invitation.py +1 -1
  156. msgraph/generated/models/invitation_redemption_identity_provider_configuration.py +2 -2
  157. msgraph/generated/models/landing_page.py +2 -2
  158. msgraph/generated/models/learning_content.py +1 -1
  159. msgraph/generated/models/learning_course_activity.py +1 -1
  160. msgraph/generated/models/level_map.py +4 -4
  161. msgraph/generated/models/list_item.py +7 -0
  162. msgraph/generated/models/login_page.py +2 -2
  163. msgraph/generated/models/mail_assessment_request.py +1 -1
  164. msgraph/generated/models/mail_tips.py +1 -1
  165. msgraph/generated/models/mailbox_details.py +2 -2
  166. msgraph/generated/models/mailbox_settings.py +2 -2
  167. msgraph/generated/models/malware_state_for_windows_device.py +2 -2
  168. msgraph/generated/models/max_work_location_details.py +9 -0
  169. msgraph/generated/models/meeting_note.py +69 -0
  170. msgraph/generated/models/meeting_note_subpoint.py +58 -0
  171. msgraph/generated/models/mention_event.py +70 -0
  172. msgraph/generated/models/microsoft_custom_training_setting.py +1 -1
  173. msgraph/generated/models/microsoft_managed_desktop.py +1 -1
  174. msgraph/generated/models/microsoft_training_assignment_mapping.py +1 -1
  175. msgraph/generated/models/network_connection.py +3 -3
  176. msgraph/generated/models/notebook.py +1 -1
  177. msgraph/generated/models/o_auth_consent_app_detail.py +1 -1
  178. msgraph/generated/models/object_definition_metadata_entry.py +1 -1
  179. msgraph/generated/models/object_mapping_metadata_entry.py +1 -1
  180. msgraph/generated/models/online_meeting_base.py +24 -4
  181. msgraph/generated/models/online_meeting_restricted.py +2 -2
  182. msgraph/generated/models/online_meeting_sensitivity_label_assignment.py +54 -0
  183. msgraph/generated/models/participant_info.py +1 -1
  184. msgraph/generated/models/partners/billing/operation.py +1 -1
  185. msgraph/generated/models/payload.py +8 -8
  186. msgraph/generated/models/persistent_browser_session_control.py +1 -1
  187. msgraph/generated/models/phone_authentication_method.py +2 -2
  188. msgraph/generated/models/place.py +7 -7
  189. msgraph/generated/models/place_feature_enablement.py +8 -0
  190. msgraph/generated/models/place_mode.py +7 -0
  191. msgraph/generated/models/planner_plan_container.py +1 -1
  192. msgraph/generated/models/platform_credential_authentication_method.py +2 -2
  193. msgraph/generated/models/positive_reinforcement_notification.py +1 -1
  194. msgraph/generated/models/presence.py +7 -0
  195. msgraph/generated/models/printer_capabilities.py +2 -2
  196. msgraph/generated/models/process.py +1 -1
  197. msgraph/generated/models/provisioning_object_summary.py +1 -1
  198. msgraph/generated/models/provisioning_status_info.py +1 -1
  199. msgraph/generated/models/provisioning_step.py +2 -2
  200. msgraph/generated/models/registry_key_state.py +3 -3
  201. msgraph/generated/models/remote_desktop_security_configuration.py +1 -1
  202. msgraph/generated/models/resource_link.py +2 -2
  203. msgraph/generated/models/resource_specific_permission_grant.py +1 -1
  204. msgraph/generated/models/response_status.py +1 -1
  205. msgraph/generated/models/restore_point_search_result.py +1 -1
  206. msgraph/generated/models/retention_label_settings.py +1 -1
  207. msgraph/generated/models/risk_detection.py +5 -5
  208. msgraph/generated/models/risky_user.py +3 -3
  209. msgraph/generated/models/room.py +12 -1
  210. msgraph/generated/models/schedule_change_request.py +2 -2
  211. msgraph/generated/models/search/answer_variant.py +1 -1
  212. msgraph/generated/models/search/bookmark.py +1 -1
  213. msgraph/generated/models/search/qna.py +1 -1
  214. msgraph/generated/models/search_request.py +1 -1
  215. msgraph/generated/models/section_map.py +1 -1
  216. msgraph/generated/models/security/active_directory_domain_evidence.py +61 -0
  217. msgraph/generated/models/security/ai_agent_evidence.py +1 -1
  218. msgraph/generated/models/security/alert.py +4 -4
  219. msgraph/generated/models/security/alert_evidence.py +7 -0
  220. msgraph/generated/models/security/case_operation.py +2 -2
  221. msgraph/generated/models/security/data_source_container.py +1 -1
  222. msgraph/generated/models/security/device_evidence.py +8 -1
  223. msgraph/generated/models/security/ediscovery_add_to_review_set_operation.py +4 -4
  224. msgraph/generated/models/security/ediscovery_case.py +7 -0
  225. msgraph/generated/models/security/ediscovery_case_member.py +68 -0
  226. msgraph/generated/models/security/ediscovery_case_member_collection_response.py +58 -0
  227. msgraph/generated/models/security/ediscovery_case_settings.py +1 -1
  228. msgraph/generated/models/security/ediscovery_estimate_operation.py +1 -1
  229. msgraph/generated/models/security/ediscovery_export_operation.py +2 -2
  230. msgraph/generated/models/security/ediscovery_review_tag.py +1 -1
  231. msgraph/generated/models/security/ediscovery_search.py +1 -1
  232. msgraph/generated/models/security/ediscovery_search_export_operation.py +2 -2
  233. msgraph/generated/models/security/google_cloud_resource_evidence.py +1 -1
  234. msgraph/generated/models/security/incident.py +2 -2
  235. msgraph/generated/models/security/kubernetes_cluster_evidence.py +1 -1
  236. msgraph/generated/models/security/kubernetes_service_port.py +1 -1
  237. msgraph/generated/models/security/mailbox_configuration_evidence.py +6 -6
  238. msgraph/generated/models/security/recipient_type.py +7 -0
  239. msgraph/generated/models/security/teams_message_evidence.py +2 -2
  240. msgraph/generated/models/security/unified_group_source.py +1 -1
  241. msgraph/generated/models/security/user_source.py +1 -1
  242. msgraph/generated/models/security_resource.py +1 -1
  243. msgraph/generated/models/send_dtmf_tones_operation.py +1 -1
  244. msgraph/generated/models/sensitivity_label.py +4 -0
  245. msgraph/generated/models/service_health_issue_post.py +1 -1
  246. msgraph/generated/models/service_principal.py +1 -1
  247. msgraph/generated/models/service_principal_risk_detection.py +1 -1
  248. msgraph/generated/models/sharepoint_settings.py +3 -3
  249. msgraph/generated/models/sign_in.py +1 -1
  250. msgraph/generated/models/sign_in_frequency_session_control.py +1 -1
  251. msgraph/generated/models/simulation.py +4 -4
  252. msgraph/generated/models/simulation_notification.py +1 -1
  253. msgraph/generated/models/site_collection.py +1 -1
  254. msgraph/generated/models/subject_rights_request.py +3 -3
  255. msgraph/generated/models/subject_rights_request_history.py +2 -2
  256. msgraph/generated/models/subject_rights_request_stage_detail.py +2 -2
  257. msgraph/generated/models/subject_set.py +7 -0
  258. msgraph/generated/models/subscribed_sku.py +2 -2
  259. msgraph/generated/models/synchronization_metadata_entry.py +1 -1
  260. msgraph/generated/models/target_agent_identity_sponsors_or_owners.py +53 -0
  261. msgraph/generated/models/target_resource.py +1 -1
  262. msgraph/generated/models/team_fun_settings.py +1 -1
  263. msgraph/generated/models/teams_administration/account_type.py +11 -0
  264. msgraph/generated/models/teams_administration/assigned_telephone_number.py +65 -0
  265. msgraph/generated/models/teams_administration/assignment_category.py +8 -0
  266. msgraph/generated/models/teams_administration/assignment_type.py +7 -0
  267. msgraph/generated/models/teams_administration/effective_policy_assignment.py +65 -0
  268. msgraph/generated/models/teams_administration/policy_assignment.py +73 -0
  269. msgraph/generated/models/teams_administration/teams_admin_root.py +60 -0
  270. msgraph/generated/models/teams_administration/teams_user_configuration.py +106 -0
  271. msgraph/generated/models/teams_administration/teams_user_configuration_collection_response.py +58 -0
  272. msgraph/generated/models/teams_app_definition.py +1 -1
  273. msgraph/generated/models/teamwork_activity_topic.py +1 -1
  274. msgraph/generated/models/teamwork_application_identity.py +1 -1
  275. msgraph/generated/models/teamwork_conversation_identity.py +1 -1
  276. msgraph/generated/models/teamwork_user_identity.py +1 -1
  277. msgraph/generated/models/term_store/group.py +1 -1
  278. msgraph/generated/models/term_store/relation.py +1 -1
  279. msgraph/generated/models/threat_assessment_request.py +3 -3
  280. msgraph/generated/models/threat_assessment_result.py +1 -1
  281. msgraph/generated/models/time_card.py +1 -1
  282. msgraph/generated/models/time_off_details.py +58 -0
  283. msgraph/generated/models/training.py +3 -3
  284. msgraph/generated/models/training_reminder_notification.py +1 -1
  285. msgraph/generated/models/training_setting.py +1 -1
  286. msgraph/generated/models/unavailable_place_mode.py +57 -0
  287. msgraph/generated/models/unit_map.py +1 -1
  288. msgraph/generated/models/user.py +14 -0
  289. msgraph/generated/models/user_experience_analytics_app_health_app_performance_by_o_s_version.py +2 -2
  290. msgraph/generated/models/user_experience_analytics_app_health_application_performance.py +2 -2
  291. msgraph/generated/models/user_experience_analytics_app_health_device_performance_details.py +2 -2
  292. msgraph/generated/models/user_registration_details.py +2 -2
  293. msgraph/generated/models/user_registration_feature_summary.py +2 -2
  294. msgraph/generated/models/user_registration_method_summary.py +2 -2
  295. msgraph/generated/models/user_security_state.py +3 -3
  296. msgraph/generated/models/user_settings.py +8 -1
  297. msgraph/generated/models/user_training_event_info.py +1 -1
  298. msgraph/generated/models/user_training_status_info.py +1 -1
  299. msgraph/generated/models/user_work_location.py +72 -0
  300. msgraph/generated/models/virtual_endpoint.py +7 -0
  301. msgraph/generated/models/virtual_event_townhall.py +1 -1
  302. msgraph/generated/models/virtual_event_webinar.py +1 -1
  303. msgraph/generated/models/win32_lob_app.py +2 -2
  304. msgraph/generated/models/win32_lob_app_power_shell_script_rule.py +1 -1
  305. msgraph/generated/models/windows365_switch_compatibility_failure_reason_type.py +7 -0
  306. msgraph/generated/models/windows_device_malware_state.py +5 -5
  307. msgraph/generated/models/windows_hello_for_business_authentication_method.py +1 -1
  308. msgraph/generated/models/windows_malware_information.py +2 -2
  309. msgraph/generated/models/windows_protection_state.py +2 -2
  310. msgraph/generated/models/windows_update_for_business_configuration.py +2 -2
  311. msgraph/generated/models/work_hours_and_locations_setting.py +74 -0
  312. msgraph/generated/models/work_location_source.py +9 -0
  313. msgraph/generated/models/work_location_type.py +9 -0
  314. msgraph/generated/models/work_location_update_scope.py +7 -0
  315. msgraph/generated/models/work_plan_occurrence.py +86 -0
  316. msgraph/generated/models/work_plan_occurrence_collection_response.py +58 -0
  317. msgraph/generated/models/work_plan_recurrence.py +82 -0
  318. msgraph/generated/models/work_plan_recurrence_collection_response.py +58 -0
  319. msgraph/generated/models/workbook_application.py +1 -1
  320. msgraph/generated/models/workbook_named_item.py +1 -1
  321. msgraph/generated/models/workbook_range_format.py +2 -2
  322. msgraph/generated/models/workbook_table.py +1 -1
  323. msgraph/generated/models/workforce_integration.py +2 -2
  324. msgraph/generated/models/workforce_integration_encryption.py +1 -1
  325. msgraph/generated/models/workspace.py +9 -5
  326. msgraph/generated/places/graph_building/graph_building_request_builder.py +4 -3
  327. msgraph/generated/places/graph_desk/graph_desk_request_builder.py +4 -3
  328. msgraph/generated/places/graph_floor/graph_floor_request_builder.py +4 -3
  329. msgraph/generated/places/graph_room/graph_room_request_builder.py +3 -3
  330. msgraph/generated/places/graph_section/graph_section_request_builder.py +4 -3
  331. msgraph/generated/places/graph_workspace/graph_workspace_request_builder.py +4 -3
  332. msgraph/generated/places/item/check_ins/check_ins_request_builder.py +6 -5
  333. msgraph/generated/places/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +4 -3
  334. msgraph/generated/places/item/graph_building/check_ins/check_ins_request_builder.py +3 -3
  335. msgraph/generated/places/item/graph_building/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
  336. msgraph/generated/places/item/graph_building/graph_building_request_builder.py +4 -3
  337. msgraph/generated/places/item/graph_building/map/footprints/footprints_request_builder.py +4 -3
  338. msgraph/generated/places/item/graph_building/map/footprints/item/footprint_map_item_request_builder.py +3 -3
  339. msgraph/generated/places/item/graph_building/map/levels/item/fixtures/fixtures_request_builder.py +4 -3
  340. msgraph/generated/places/item/graph_building/map/levels/item/fixtures/item/fixture_map_item_request_builder.py +9 -7
  341. msgraph/generated/places/item/graph_building/map/levels/item/level_map_item_request_builder.py +3 -3
  342. msgraph/generated/places/item/graph_building/map/levels/item/sections/item/section_map_item_request_builder.py +3 -3
  343. msgraph/generated/places/item/graph_building/map/levels/item/sections/sections_request_builder.py +4 -3
  344. msgraph/generated/places/item/graph_building/map/levels/item/units/item/unit_map_item_request_builder.py +9 -7
  345. msgraph/generated/places/item/graph_building/map/levels/item/units/units_request_builder.py +4 -3
  346. msgraph/generated/places/item/graph_building/map/levels/levels_request_builder.py +4 -3
  347. msgraph/generated/places/item/graph_building/map/map_request_builder.py +7 -5
  348. msgraph/generated/places/item/graph_desk/check_ins/check_ins_request_builder.py +3 -3
  349. msgraph/generated/places/item/graph_desk/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
  350. msgraph/generated/places/item/graph_desk/graph_desk_request_builder.py +4 -3
  351. msgraph/generated/places/item/graph_floor/check_ins/check_ins_request_builder.py +3 -3
  352. msgraph/generated/places/item/graph_floor/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
  353. msgraph/generated/places/item/graph_floor/graph_floor_request_builder.py +4 -3
  354. msgraph/generated/places/item/graph_room/check_ins/check_ins_request_builder.py +3 -3
  355. msgraph/generated/places/item/graph_room/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
  356. msgraph/generated/places/item/graph_room/graph_room_request_builder.py +3 -3
  357. msgraph/generated/places/item/graph_room_list/check_ins/check_ins_request_builder.py +3 -3
  358. msgraph/generated/places/item/graph_room_list/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
  359. msgraph/generated/places/item/graph_room_list/rooms/item/check_ins/check_ins_request_builder.py +3 -3
  360. msgraph/generated/places/item/graph_room_list/rooms/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
  361. msgraph/generated/places/item/graph_room_list/workspaces/item/check_ins/check_ins_request_builder.py +3 -3
  362. msgraph/generated/places/item/graph_room_list/workspaces/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
  363. msgraph/generated/places/item/graph_section/check_ins/check_ins_request_builder.py +3 -3
  364. msgraph/generated/places/item/graph_section/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
  365. msgraph/generated/places/item/graph_section/graph_section_request_builder.py +4 -3
  366. msgraph/generated/places/item/graph_workspace/check_ins/check_ins_request_builder.py +3 -3
  367. msgraph/generated/places/item/graph_workspace/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
  368. msgraph/generated/places/item/graph_workspace/graph_workspace_request_builder.py +4 -3
  369. msgraph/generated/places/item/place_item_request_builder.py +5 -4
  370. msgraph/generated/places/places_request_builder.py +3 -2
  371. msgraph/generated/security/cases/ediscovery_cases/item/case_members/case_members_request_builder.py +210 -0
  372. msgraph/generated/security/cases/ediscovery_cases/item/case_members/count/count_request_builder.py +104 -0
  373. msgraph/generated/security/cases/ediscovery_cases/item/case_members/item/ediscovery_case_member_item_request_builder.py +189 -0
  374. msgraph/generated/security/cases/ediscovery_cases/item/ediscovery_case_item_request_builder.py +10 -0
  375. msgraph/generated/security/secure_score_control_profiles/item/secure_score_control_profile_item_request_builder.py +2 -2
  376. msgraph/generated/solutions/backup_restore/service_apps/item/service_app_item_request_builder.py +2 -2
  377. msgraph/generated/storage/file_storage/container_type_registrations/container_type_registrations_request_builder.py +209 -0
  378. msgraph/generated/storage/file_storage/container_type_registrations/count/count_request_builder.py +104 -0
  379. msgraph/generated/storage/file_storage/container_type_registrations/item/application_permission_grants/application_permission_grants_request_builder.py +209 -0
  380. msgraph/generated/storage/file_storage/container_type_registrations/item/application_permission_grants/count/count_request_builder.py +104 -0
  381. msgraph/generated/storage/file_storage/container_type_registrations/item/application_permission_grants/item/file_storage_container_type_app_permission_grant_app_item_request_builder.py +191 -0
  382. msgraph/generated/storage/file_storage/container_type_registrations/item/file_storage_container_type_registration_item_request_builder.py +201 -0
  383. msgraph/generated/storage/file_storage/container_types/container_types_request_builder.py +210 -0
  384. msgraph/generated/storage/file_storage/container_types/count/count_request_builder.py +104 -0
  385. msgraph/generated/storage/file_storage/container_types/item/file_storage_container_type_item_request_builder.py +191 -0
  386. msgraph/generated/storage/file_storage/containers/item/file_storage_container_item_request_builder.py +3 -3
  387. msgraph/generated/storage/file_storage/deleted_containers/deleted_containers_request_builder.py +3 -3
  388. msgraph/generated/storage/file_storage/deleted_containers/item/file_storage_container_item_request_builder.py +3 -3
  389. msgraph/generated/storage/file_storage/file_storage_request_builder.py +20 -0
  390. msgraph/generated/users/item/adhoc_calls/adhoc_calls_request_builder.py +208 -0
  391. msgraph/generated/users/item/adhoc_calls/count/count_request_builder.py +104 -0
  392. msgraph/generated/users/item/adhoc_calls/item/adhoc_call_item_request_builder.py +208 -0
  393. msgraph/generated/users/item/adhoc_calls/item/recordings/count/count_request_builder.py +104 -0
  394. msgraph/generated/users/item/adhoc_calls/item/recordings/delta/delta_get_response.py +58 -0
  395. msgraph/generated/users/item/adhoc_calls/item/recordings/delta/delta_request_builder.py +137 -0
  396. msgraph/generated/users/item/adhoc_calls/item/recordings/item/call_recording_item_request_builder.py +199 -0
  397. msgraph/generated/users/item/adhoc_calls/item/recordings/item/content/content_request_builder.py +161 -0
  398. msgraph/generated/users/item/adhoc_calls/item/recordings/recordings_request_builder.py +218 -0
  399. msgraph/generated/users/item/adhoc_calls/item/transcripts/count/count_request_builder.py +104 -0
  400. msgraph/generated/users/item/adhoc_calls/item/transcripts/delta/delta_get_response.py +58 -0
  401. msgraph/generated/users/item/adhoc_calls/item/transcripts/delta/delta_request_builder.py +137 -0
  402. msgraph/generated/users/item/adhoc_calls/item/transcripts/item/call_transcript_item_request_builder.py +209 -0
  403. msgraph/generated/users/item/adhoc_calls/item/transcripts/item/content/content_request_builder.py +161 -0
  404. msgraph/generated/users/item/adhoc_calls/item/transcripts/item/metadata_content/metadata_content_request_builder.py +157 -0
  405. msgraph/generated/users/item/adhoc_calls/item/transcripts/transcripts_request_builder.py +218 -0
  406. msgraph/generated/users/item/cloud_p_cs/item/cloud_p_c_item_request_builder.py +20 -0
  407. msgraph/generated/users/item/cloud_p_cs/item/reprovision/reprovision_post_request_body.py +64 -0
  408. msgraph/generated/users/item/cloud_p_cs/item/reprovision/reprovision_request_builder.py +87 -0
  409. msgraph/generated/users/item/cloud_p_cs/item/retrieve_cloud_pc_launch_detail/retrieve_cloud_pc_launch_detail_request_builder.py +82 -0
  410. msgraph/generated/users/item/mail_folders/item/child_folders/item/messages/delta/delta_request_builder.py +3 -3
  411. msgraph/generated/users/item/mail_folders/item/messages/delta/delta_request_builder.py +3 -3
  412. msgraph/generated/users/item/messages/delta/delta_request_builder.py +3 -3
  413. msgraph/generated/users/item/on_premises_sync_behavior/on_premises_sync_behavior_request_builder.py +188 -0
  414. msgraph/generated/users/item/online_meetings/item/recordings/item/call_recording_item_request_builder.py +3 -3
  415. msgraph/generated/users/item/online_meetings/item/recordings/recordings_request_builder.py +3 -3
  416. msgraph/generated/users/item/online_meetings/item/transcripts/item/call_transcript_item_request_builder.py +3 -3
  417. msgraph/generated/users/item/online_meetings/item/transcripts/item/content/content_request_builder.py +2 -2
  418. msgraph/generated/users/item/online_meetings/item/transcripts/item/metadata_content/metadata_content_request_builder.py +2 -2
  419. msgraph/generated/users/item/online_meetings/item/transcripts/transcripts_request_builder.py +3 -3
  420. msgraph/generated/users/item/presence/clear_automatic_location/clear_automatic_location_request_builder.py +79 -0
  421. msgraph/generated/users/item/presence/clear_location/clear_location_request_builder.py +79 -0
  422. msgraph/generated/users/item/presence/presence_request_builder.py +40 -0
  423. msgraph/generated/users/item/presence/set_automatic_location/set_automatic_location_post_request_body.py +61 -0
  424. msgraph/generated/users/item/presence/set_automatic_location/set_automatic_location_request_builder.py +87 -0
  425. msgraph/generated/users/item/presence/set_manual_location/set_manual_location_post_request_body.py +61 -0
  426. msgraph/generated/users/item/presence/set_manual_location/set_manual_location_request_builder.py +87 -0
  427. msgraph/generated/users/item/settings/settings_request_builder.py +10 -0
  428. msgraph/generated/users/item/settings/windows/item/windows_setting_item_request_builder.py +3 -3
  429. msgraph/generated/users/item/settings/windows/windows_request_builder.py +3 -3
  430. msgraph/generated/users/item/settings/work_hours_and_locations/occurrences/count/count_request_builder.py +104 -0
  431. msgraph/generated/users/item/settings/work_hours_and_locations/occurrences/item/work_plan_occurrence_item_request_builder.py +188 -0
  432. msgraph/generated/users/item/settings/work_hours_and_locations/occurrences/occurrences_request_builder.py +218 -0
  433. msgraph/generated/users/item/settings/work_hours_and_locations/occurrences/set_current_location/set_current_location_post_request_body.py +68 -0
  434. msgraph/generated/users/item/settings/work_hours_and_locations/occurrences/set_current_location/set_current_location_request_builder.py +87 -0
  435. msgraph/generated/users/item/settings/work_hours_and_locations/occurrences_view_with_start_date_time_with_end_date_time/occurrences_view_with_start_date_time_with_end_date_time_get_response.py +58 -0
  436. msgraph/generated/users/item/settings/work_hours_and_locations/occurrences_view_with_start_date_time_with_end_date_time/occurrences_view_with_start_date_time_with_end_date_time_request_builder.py +143 -0
  437. msgraph/generated/users/item/settings/work_hours_and_locations/recurrences/count/count_request_builder.py +104 -0
  438. msgraph/generated/users/item/settings/work_hours_and_locations/recurrences/item/work_plan_recurrence_item_request_builder.py +188 -0
  439. msgraph/generated/users/item/settings/work_hours_and_locations/recurrences/recurrences_request_builder.py +208 -0
  440. msgraph/generated/users/item/settings/work_hours_and_locations/work_hours_and_locations_request_builder.py +188 -0
  441. msgraph/generated/users/item/user_item_request_builder.py +20 -0
  442. {msgraph_sdk-1.50.0.dist-info → msgraph_sdk-1.52.0.dist-info}/METADATA +1 -1
  443. {msgraph_sdk-1.50.0.dist-info → msgraph_sdk-1.52.0.dist-info}/RECORD +445 -305
  444. {msgraph_sdk-1.50.0.dist-info → msgraph_sdk-1.52.0.dist-info}/WHEEL +0 -0
  445. {msgraph_sdk-1.50.0.dist-info → msgraph_sdk-1.52.0.dist-info}/licenses/LICENSE +0 -0
@@ -32,7 +32,7 @@ class DeltaRequestBuilder(BaseRequestBuilder):
32
32
 
33
33
  async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]:
34
34
  """
35
- Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time.
35
+ Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time.
36
36
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
37
37
  Returns: Optional[DeltaGetResponse]
38
38
  Find more info here: https://learn.microsoft.com/graph/api/message-delta?view=graph-rest-1.0
@@ -53,7 +53,7 @@ class DeltaRequestBuilder(BaseRequestBuilder):
53
53
 
54
54
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
55
55
  """
56
- Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time.
56
+ Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time.
57
57
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
58
58
  Returns: RequestInformation
59
59
  """
@@ -75,7 +75,7 @@ class DeltaRequestBuilder(BaseRequestBuilder):
75
75
  @dataclass
76
76
  class DeltaRequestBuilderGetQueryParameters():
77
77
  """
78
- Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time.
78
+ Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time.
79
79
  """
80
80
  def get_query_parameter(self,original_name: str) -> str:
81
81
  """
@@ -32,7 +32,7 @@ class DeltaRequestBuilder(BaseRequestBuilder):
32
32
 
33
33
  async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]:
34
34
  """
35
- Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time.
35
+ Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time.
36
36
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
37
37
  Returns: Optional[DeltaGetResponse]
38
38
  Find more info here: https://learn.microsoft.com/graph/api/message-delta?view=graph-rest-1.0
@@ -53,7 +53,7 @@ class DeltaRequestBuilder(BaseRequestBuilder):
53
53
 
54
54
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
55
55
  """
56
- Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time.
56
+ Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time.
57
57
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
58
58
  Returns: RequestInformation
59
59
  """
@@ -75,7 +75,7 @@ class DeltaRequestBuilder(BaseRequestBuilder):
75
75
  @dataclass
76
76
  class DeltaRequestBuilderGetQueryParameters():
77
77
  """
78
- Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time.
78
+ Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time.
79
79
  """
80
80
  def get_query_parameter(self,original_name: str) -> str:
81
81
  """
@@ -32,7 +32,7 @@ class DeltaRequestBuilder(BaseRequestBuilder):
32
32
 
33
33
  async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]:
34
34
  """
35
- Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time.
35
+ Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time.
36
36
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
37
37
  Returns: Optional[DeltaGetResponse]
38
38
  Find more info here: https://learn.microsoft.com/graph/api/message-delta?view=graph-rest-1.0
@@ -53,7 +53,7 @@ class DeltaRequestBuilder(BaseRequestBuilder):
53
53
 
54
54
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
55
55
  """
56
- Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time.
56
+ Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time.
57
57
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
58
58
  Returns: RequestInformation
59
59
  """
@@ -75,7 +75,7 @@ class DeltaRequestBuilder(BaseRequestBuilder):
75
75
  @dataclass
76
76
  class DeltaRequestBuilderGetQueryParameters():
77
77
  """
78
- Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time.
78
+ Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time.
79
79
  """
80
80
  def get_query_parameter(self,original_name: str) -> str:
81
81
  """
@@ -0,0 +1,188 @@
1
+ from __future__ import annotations
2
+ from collections.abc import Callable
3
+ from dataclasses import dataclass, field
4
+ from kiota_abstractions.base_request_builder import BaseRequestBuilder
5
+ from kiota_abstractions.base_request_configuration import RequestConfiguration
6
+ from kiota_abstractions.default_query_parameters import QueryParameters
7
+ from kiota_abstractions.get_path_parameters import get_path_parameters
8
+ from kiota_abstractions.method import Method
9
+ from kiota_abstractions.request_adapter import RequestAdapter
10
+ from kiota_abstractions.request_information import RequestInformation
11
+ from kiota_abstractions.request_option import RequestOption
12
+ from kiota_abstractions.serialization import Parsable, ParsableFactory
13
+ from typing import Any, Optional, TYPE_CHECKING, Union
14
+ from warnings import warn
15
+
16
+ if TYPE_CHECKING:
17
+ from ....models.on_premises_sync_behavior import OnPremisesSyncBehavior
18
+ from ....models.o_data_errors.o_data_error import ODataError
19
+
20
+ class OnPremisesSyncBehaviorRequestBuilder(BaseRequestBuilder):
21
+ """
22
+ Provides operations to manage the onPremisesSyncBehavior property of the microsoft.graph.user entity.
23
+ """
24
+ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None:
25
+ """
26
+ Instantiates a new OnPremisesSyncBehaviorRequestBuilder and sets the default values.
27
+ param path_parameters: The raw url or the url-template parameters for the request.
28
+ param request_adapter: The request adapter to use to execute the requests.
29
+ Returns: None
30
+ """
31
+ super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/onPremisesSyncBehavior{?%24expand,%24select}", path_parameters)
32
+
33
+ async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
34
+ """
35
+ Delete navigation property onPremisesSyncBehavior for users
36
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
37
+ Returns: None
38
+ """
39
+ request_info = self.to_delete_request_information(
40
+ request_configuration
41
+ )
42
+ from ....models.o_data_errors.o_data_error import ODataError
43
+
44
+ error_mapping: dict[str, type[ParsableFactory]] = {
45
+ "XXX": ODataError,
46
+ }
47
+ if not self.request_adapter:
48
+ raise Exception("Http core is null")
49
+ return await self.request_adapter.send_no_response_content_async(request_info, error_mapping)
50
+
51
+ async def get(self,request_configuration: Optional[RequestConfiguration[OnPremisesSyncBehaviorRequestBuilderGetQueryParameters]] = None) -> Optional[OnPremisesSyncBehavior]:
52
+ """
53
+ Get onPremisesSyncBehavior from users
54
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
55
+ Returns: Optional[OnPremisesSyncBehavior]
56
+ """
57
+ request_info = self.to_get_request_information(
58
+ request_configuration
59
+ )
60
+ from ....models.o_data_errors.o_data_error import ODataError
61
+
62
+ error_mapping: dict[str, type[ParsableFactory]] = {
63
+ "XXX": ODataError,
64
+ }
65
+ if not self.request_adapter:
66
+ raise Exception("Http core is null")
67
+ from ....models.on_premises_sync_behavior import OnPremisesSyncBehavior
68
+
69
+ return await self.request_adapter.send_async(request_info, OnPremisesSyncBehavior, error_mapping)
70
+
71
+ async def patch(self,body: OnPremisesSyncBehavior, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[OnPremisesSyncBehavior]:
72
+ """
73
+ Update the navigation property onPremisesSyncBehavior in users
74
+ param body: The request body
75
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
76
+ Returns: Optional[OnPremisesSyncBehavior]
77
+ """
78
+ if body is None:
79
+ raise TypeError("body cannot be null.")
80
+ request_info = self.to_patch_request_information(
81
+ body, request_configuration
82
+ )
83
+ from ....models.o_data_errors.o_data_error import ODataError
84
+
85
+ error_mapping: dict[str, type[ParsableFactory]] = {
86
+ "XXX": ODataError,
87
+ }
88
+ if not self.request_adapter:
89
+ raise Exception("Http core is null")
90
+ from ....models.on_premises_sync_behavior import OnPremisesSyncBehavior
91
+
92
+ return await self.request_adapter.send_async(request_info, OnPremisesSyncBehavior, error_mapping)
93
+
94
+ def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
95
+ """
96
+ Delete navigation property onPremisesSyncBehavior for users
97
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
98
+ Returns: RequestInformation
99
+ """
100
+ request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters)
101
+ request_info.configure(request_configuration)
102
+ request_info.headers.try_add("Accept", "application/json")
103
+ return request_info
104
+
105
+ def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OnPremisesSyncBehaviorRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
106
+ """
107
+ Get onPremisesSyncBehavior from users
108
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
109
+ Returns: RequestInformation
110
+ """
111
+ request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
112
+ request_info.configure(request_configuration)
113
+ request_info.headers.try_add("Accept", "application/json")
114
+ return request_info
115
+
116
+ def to_patch_request_information(self,body: OnPremisesSyncBehavior, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
117
+ """
118
+ Update the navigation property onPremisesSyncBehavior in users
119
+ param body: The request body
120
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
121
+ Returns: RequestInformation
122
+ """
123
+ if body is None:
124
+ raise TypeError("body cannot be null.")
125
+ request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters)
126
+ request_info.configure(request_configuration)
127
+ request_info.headers.try_add("Accept", "application/json")
128
+ request_info.set_content_from_parsable(self.request_adapter, "application/json", body)
129
+ return request_info
130
+
131
+ def with_url(self,raw_url: str) -> OnPremisesSyncBehaviorRequestBuilder:
132
+ """
133
+ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
134
+ param raw_url: The raw URL to use for the request builder.
135
+ Returns: OnPremisesSyncBehaviorRequestBuilder
136
+ """
137
+ if raw_url is None:
138
+ raise TypeError("raw_url cannot be null.")
139
+ return OnPremisesSyncBehaviorRequestBuilder(self.request_adapter, raw_url)
140
+
141
+ @dataclass
142
+ class OnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]):
143
+ """
144
+ Configuration for the request such as headers, query parameters, and middleware options.
145
+ """
146
+ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
147
+
148
+ @dataclass
149
+ class OnPremisesSyncBehaviorRequestBuilderGetQueryParameters():
150
+ """
151
+ Get onPremisesSyncBehavior from users
152
+ """
153
+ def get_query_parameter(self,original_name: str) -> str:
154
+ """
155
+ Maps the query parameters names to their encoded names for the URI template parsing.
156
+ param original_name: The original query parameter name in the class.
157
+ Returns: str
158
+ """
159
+ if original_name is None:
160
+ raise TypeError("original_name cannot be null.")
161
+ if original_name == "expand":
162
+ return "%24expand"
163
+ if original_name == "select":
164
+ return "%24select"
165
+ return original_name
166
+
167
+ # Expand related entities
168
+ expand: Optional[list[str]] = None
169
+
170
+ # Select properties to be returned
171
+ select: Optional[list[str]] = None
172
+
173
+
174
+ @dataclass
175
+ class OnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration(RequestConfiguration[OnPremisesSyncBehaviorRequestBuilderGetQueryParameters]):
176
+ """
177
+ Configuration for the request such as headers, query parameters, and middleware options.
178
+ """
179
+ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
180
+
181
+ @dataclass
182
+ class OnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]):
183
+ """
184
+ Configuration for the request such as headers, query parameters, and middleware options.
185
+ """
186
+ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
187
+
188
+
@@ -51,7 +51,7 @@ class CallRecordingItemRequestBuilder(BaseRequestBuilder):
51
51
 
52
52
  async def get(self,request_configuration: Optional[RequestConfiguration[CallRecordingItemRequestBuilderGetQueryParameters]] = None) -> Optional[CallRecording]:
53
53
  """
54
- Get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording.
54
+ Get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording.
55
55
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
56
56
  Returns: Optional[CallRecording]
57
57
  Find more info here: https://learn.microsoft.com/graph/api/callrecording-get?view=graph-rest-1.0
@@ -106,7 +106,7 @@ class CallRecordingItemRequestBuilder(BaseRequestBuilder):
106
106
 
107
107
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CallRecordingItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
108
108
  """
109
- Get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording.
109
+ Get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording.
110
110
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
111
111
  Returns: RequestInformation
112
112
  """
@@ -159,7 +159,7 @@ class CallRecordingItemRequestBuilder(BaseRequestBuilder):
159
159
  @dataclass
160
160
  class CallRecordingItemRequestBuilderGetQueryParameters():
161
161
  """
162
- Get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording.
162
+ Get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording.
163
163
  """
164
164
  def get_query_parameter(self,original_name: str) -> str:
165
165
  """
@@ -50,7 +50,7 @@ class RecordingsRequestBuilder(BaseRequestBuilder):
50
50
 
51
51
  async def get(self,request_configuration: Optional[RequestConfiguration[RecordingsRequestBuilderGetQueryParameters]] = None) -> Optional[CallRecordingCollectionResponse]:
52
52
  """
53
- Get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording.
53
+ Get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording.
54
54
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
55
55
  Returns: Optional[CallRecordingCollectionResponse]
56
56
  """
@@ -93,7 +93,7 @@ class RecordingsRequestBuilder(BaseRequestBuilder):
93
93
 
94
94
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RecordingsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
95
95
  """
96
- Get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording.
96
+ Get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording.
97
97
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
98
98
  Returns: RequestInformation
99
99
  """
@@ -148,7 +148,7 @@ class RecordingsRequestBuilder(BaseRequestBuilder):
148
148
  @dataclass
149
149
  class RecordingsRequestBuilderGetQueryParameters():
150
150
  """
151
- Get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording.
151
+ Get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording.
152
152
  """
153
153
  def get_query_parameter(self,original_name: str) -> str:
154
154
  """
@@ -52,7 +52,7 @@ class CallTranscriptItemRequestBuilder(BaseRequestBuilder):
52
52
 
53
53
  async def get(self,request_configuration: Optional[RequestConfiguration[CallTranscriptItemRequestBuilderGetQueryParameters]] = None) -> Optional[CallTranscript]:
54
54
  """
55
- Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript.
55
+ Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript.
56
56
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
57
57
  Returns: Optional[CallTranscript]
58
58
  Find more info here: https://learn.microsoft.com/graph/api/calltranscript-get?view=graph-rest-1.0
@@ -107,7 +107,7 @@ class CallTranscriptItemRequestBuilder(BaseRequestBuilder):
107
107
 
108
108
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CallTranscriptItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
109
109
  """
110
- Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript.
110
+ Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript.
111
111
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
112
112
  Returns: RequestInformation
113
113
  """
@@ -169,7 +169,7 @@ class CallTranscriptItemRequestBuilder(BaseRequestBuilder):
169
169
  @dataclass
170
170
  class CallTranscriptItemRequestBuilderGetQueryParameters():
171
171
  """
172
- Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript.
172
+ Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript.
173
173
  """
174
174
  def get_query_parameter(self,original_name: str) -> str:
175
175
  """
@@ -50,7 +50,7 @@ class ContentRequestBuilder(BaseRequestBuilder):
50
50
 
51
51
  async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[bytes]:
52
52
  """
53
- Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript.
53
+ Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript.
54
54
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
55
55
  Returns: bytes
56
56
  Find more info here: https://learn.microsoft.com/graph/api/calltranscript-get?view=graph-rest-1.0
@@ -103,7 +103,7 @@ class ContentRequestBuilder(BaseRequestBuilder):
103
103
 
104
104
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
105
105
  """
106
- Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript.
106
+ Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript.
107
107
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
108
108
  Returns: RequestInformation
109
109
  """
@@ -49,7 +49,7 @@ class MetadataContentRequestBuilder(BaseRequestBuilder):
49
49
 
50
50
  async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[bytes]:
51
51
  """
52
- Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript.
52
+ Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript.
53
53
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
54
54
  Returns: bytes
55
55
  Find more info here: https://learn.microsoft.com/graph/api/calltranscript-get?view=graph-rest-1.0
@@ -100,7 +100,7 @@ class MetadataContentRequestBuilder(BaseRequestBuilder):
100
100
 
101
101
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
102
102
  """
103
- Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript.
103
+ Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript.
104
104
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
105
105
  Returns: RequestInformation
106
106
  """
@@ -50,7 +50,7 @@ class TranscriptsRequestBuilder(BaseRequestBuilder):
50
50
 
51
51
  async def get(self,request_configuration: Optional[RequestConfiguration[TranscriptsRequestBuilderGetQueryParameters]] = None) -> Optional[CallTranscriptCollectionResponse]:
52
52
  """
53
- Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time.
53
+ Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events.
54
54
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
55
55
  Returns: Optional[CallTranscriptCollectionResponse]
56
56
  Find more info here: https://learn.microsoft.com/graph/api/onlinemeeting-list-transcripts?view=graph-rest-1.0
@@ -94,7 +94,7 @@ class TranscriptsRequestBuilder(BaseRequestBuilder):
94
94
 
95
95
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[TranscriptsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
96
96
  """
97
- Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time.
97
+ Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events.
98
98
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
99
99
  Returns: RequestInformation
100
100
  """
@@ -149,7 +149,7 @@ class TranscriptsRequestBuilder(BaseRequestBuilder):
149
149
  @dataclass
150
150
  class TranscriptsRequestBuilderGetQueryParameters():
151
151
  """
152
- Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time.
152
+ Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events.
153
153
  """
154
154
  def get_query_parameter(self,original_name: str) -> str:
155
155
  """
@@ -0,0 +1,79 @@
1
+ from __future__ import annotations
2
+ from collections.abc import Callable
3
+ from dataclasses import dataclass, field
4
+ from kiota_abstractions.base_request_builder import BaseRequestBuilder
5
+ from kiota_abstractions.base_request_configuration import RequestConfiguration
6
+ from kiota_abstractions.default_query_parameters import QueryParameters
7
+ from kiota_abstractions.get_path_parameters import get_path_parameters
8
+ from kiota_abstractions.method import Method
9
+ from kiota_abstractions.request_adapter import RequestAdapter
10
+ from kiota_abstractions.request_information import RequestInformation
11
+ from kiota_abstractions.request_option import RequestOption
12
+ from kiota_abstractions.serialization import Parsable, ParsableFactory
13
+ from typing import Any, Optional, TYPE_CHECKING, Union
14
+ from warnings import warn
15
+
16
+ if TYPE_CHECKING:
17
+ from .....models.o_data_errors.o_data_error import ODataError
18
+
19
+ class ClearAutomaticLocationRequestBuilder(BaseRequestBuilder):
20
+ """
21
+ Provides operations to call the clearAutomaticLocation method.
22
+ """
23
+ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None:
24
+ """
25
+ Instantiates a new ClearAutomaticLocationRequestBuilder and sets the default values.
26
+ param path_parameters: The raw url or the url-template parameters for the request.
27
+ param request_adapter: The request adapter to use to execute the requests.
28
+ Returns: None
29
+ """
30
+ super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/presence/clearAutomaticLocation", path_parameters)
31
+
32
+ async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
33
+ """
34
+ Clear the automatic work location signal for a user. After clearing, the user’s final aggregated work location is recomputed according to the precedence rules: Use this operation when you need to remove the current autodetected signal without affecting manual or scheduled layers.
35
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
36
+ Returns: None
37
+ Find more info here: https://learn.microsoft.com/graph/api/presence-clearautomaticlocation?view=graph-rest-1.0
38
+ """
39
+ request_info = self.to_post_request_information(
40
+ request_configuration
41
+ )
42
+ from .....models.o_data_errors.o_data_error import ODataError
43
+
44
+ error_mapping: dict[str, type[ParsableFactory]] = {
45
+ "XXX": ODataError,
46
+ }
47
+ if not self.request_adapter:
48
+ raise Exception("Http core is null")
49
+ return await self.request_adapter.send_no_response_content_async(request_info, error_mapping)
50
+
51
+ def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
52
+ """
53
+ Clear the automatic work location signal for a user. After clearing, the user’s final aggregated work location is recomputed according to the precedence rules: Use this operation when you need to remove the current autodetected signal without affecting manual or scheduled layers.
54
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
55
+ Returns: RequestInformation
56
+ """
57
+ request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters)
58
+ request_info.configure(request_configuration)
59
+ request_info.headers.try_add("Accept", "application/json")
60
+ return request_info
61
+
62
+ def with_url(self,raw_url: str) -> ClearAutomaticLocationRequestBuilder:
63
+ """
64
+ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
65
+ param raw_url: The raw URL to use for the request builder.
66
+ Returns: ClearAutomaticLocationRequestBuilder
67
+ """
68
+ if raw_url is None:
69
+ raise TypeError("raw_url cannot be null.")
70
+ return ClearAutomaticLocationRequestBuilder(self.request_adapter, raw_url)
71
+
72
+ @dataclass
73
+ class ClearAutomaticLocationRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]):
74
+ """
75
+ Configuration for the request such as headers, query parameters, and middleware options.
76
+ """
77
+ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
78
+
79
+
@@ -0,0 +1,79 @@
1
+ from __future__ import annotations
2
+ from collections.abc import Callable
3
+ from dataclasses import dataclass, field
4
+ from kiota_abstractions.base_request_builder import BaseRequestBuilder
5
+ from kiota_abstractions.base_request_configuration import RequestConfiguration
6
+ from kiota_abstractions.default_query_parameters import QueryParameters
7
+ from kiota_abstractions.get_path_parameters import get_path_parameters
8
+ from kiota_abstractions.method import Method
9
+ from kiota_abstractions.request_adapter import RequestAdapter
10
+ from kiota_abstractions.request_information import RequestInformation
11
+ from kiota_abstractions.request_option import RequestOption
12
+ from kiota_abstractions.serialization import Parsable, ParsableFactory
13
+ from typing import Any, Optional, TYPE_CHECKING, Union
14
+ from warnings import warn
15
+
16
+ if TYPE_CHECKING:
17
+ from .....models.o_data_errors.o_data_error import ODataError
18
+
19
+ class ClearLocationRequestBuilder(BaseRequestBuilder):
20
+ """
21
+ Provides operations to call the clearLocation method.
22
+ """
23
+ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None:
24
+ """
25
+ Instantiates a new ClearLocationRequestBuilder and sets the default values.
26
+ param path_parameters: The raw url or the url-template parameters for the request.
27
+ param request_adapter: The request adapter to use to execute the requests.
28
+ Returns: None
29
+ """
30
+ super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/presence/clearLocation", path_parameters)
31
+
32
+ async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
33
+ """
34
+ Clear the work location signals for a user, including both the manual and automatic layers for the current date.
35
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
36
+ Returns: None
37
+ Find more info here: https://learn.microsoft.com/graph/api/presence-clearlocation?view=graph-rest-1.0
38
+ """
39
+ request_info = self.to_post_request_information(
40
+ request_configuration
41
+ )
42
+ from .....models.o_data_errors.o_data_error import ODataError
43
+
44
+ error_mapping: dict[str, type[ParsableFactory]] = {
45
+ "XXX": ODataError,
46
+ }
47
+ if not self.request_adapter:
48
+ raise Exception("Http core is null")
49
+ return await self.request_adapter.send_no_response_content_async(request_info, error_mapping)
50
+
51
+ def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
52
+ """
53
+ Clear the work location signals for a user, including both the manual and automatic layers for the current date.
54
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
55
+ Returns: RequestInformation
56
+ """
57
+ request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters)
58
+ request_info.configure(request_configuration)
59
+ request_info.headers.try_add("Accept", "application/json")
60
+ return request_info
61
+
62
+ def with_url(self,raw_url: str) -> ClearLocationRequestBuilder:
63
+ """
64
+ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
65
+ param raw_url: The raw URL to use for the request builder.
66
+ Returns: ClearLocationRequestBuilder
67
+ """
68
+ if raw_url is None:
69
+ raise TypeError("raw_url cannot be null.")
70
+ return ClearLocationRequestBuilder(self.request_adapter, raw_url)
71
+
72
+ @dataclass
73
+ class ClearLocationRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]):
74
+ """
75
+ Configuration for the request such as headers, query parameters, and middleware options.
76
+ """
77
+ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
78
+
79
+