msgraph-sdk 1.49.0__py3-none-any.whl → 1.51.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 (368) hide show
  1. msgraph/_version.py +1 -1
  2. msgraph/generated/applications/item/federated_identity_credentials/federated_identity_credentials_request_builder.py +5 -5
  3. msgraph/generated/applications/item/federated_identity_credentials/item/federated_identity_credential_item_request_builder.py +3 -3
  4. msgraph/generated/applications/item/federated_identity_credentials_with_name/federated_identity_credentials_with_name_request_builder.py +3 -3
  5. msgraph/generated/chats/item/chat_item_request_builder.py +10 -0
  6. msgraph/generated/chats/item/remove_all_access_for_user/remove_all_access_for_user_post_request_body.py +57 -0
  7. msgraph/generated/chats/item/remove_all_access_for_user/remove_all_access_for_user_request_builder.py +87 -0
  8. msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py +4 -3
  9. msgraph/generated/kiota-dom-export.txt +1830 -6
  10. msgraph/generated/kiota-lock.json +1 -1
  11. msgraph/generated/models/access_review_history_definition.py +1 -1
  12. msgraph/generated/models/account_target_content.py +1 -1
  13. msgraph/generated/models/agreement_acceptance.py +1 -1
  14. msgraph/generated/models/alert.py +1 -1
  15. msgraph/generated/models/alteration_response.py +1 -1
  16. msgraph/generated/models/application.py +1 -1
  17. msgraph/generated/models/applied_conditional_access_policy.py +1 -1
  18. msgraph/generated/models/assigned_place_mode.py +61 -0
  19. msgraph/generated/models/attachment_item.py +1 -1
  20. msgraph/generated/models/attack_simulation_operation.py +1 -1
  21. msgraph/generated/models/attendance_record.py +1 -1
  22. msgraph/generated/models/attribute_definition_metadata_entry.py +1 -1
  23. msgraph/generated/models/authentication_method_configuration.py +1 -1
  24. msgraph/generated/models/authentication_method_feature_configuration.py +1 -1
  25. msgraph/generated/models/authorization_policy.py +1 -1
  26. msgraph/generated/models/availability_item.py +1 -1
  27. msgraph/generated/models/base_map_feature.py +104 -0
  28. msgraph/generated/models/bit_locker_removable_drive_policy.py +1 -1
  29. msgraph/generated/models/building.py +67 -0
  30. msgraph/generated/models/building_collection_response.py +58 -0
  31. msgraph/generated/models/building_map.py +71 -0
  32. msgraph/generated/models/calculated_column.py +2 -2
  33. msgraph/generated/models/calendar.py +2 -2
  34. msgraph/generated/models/calendar_permission.py +1 -1
  35. msgraph/generated/models/call.py +2 -2
  36. msgraph/generated/models/call_ended_event_message_detail.py +1 -1
  37. msgraph/generated/models/call_media_state.py +1 -1
  38. msgraph/generated/models/call_recording_event_message_detail.py +1 -1
  39. msgraph/generated/models/call_records/call_record.py +1 -1
  40. msgraph/generated/models/call_records/media_stream.py +2 -2
  41. msgraph/generated/models/call_records/session.py +1 -1
  42. msgraph/generated/models/call_started_event_message_detail.py +1 -1
  43. msgraph/generated/models/channel.py +1 -1
  44. msgraph/generated/models/check_in_claim.py +2 -2
  45. msgraph/generated/models/cloud_app_security_session_control.py +1 -1
  46. msgraph/generated/models/cloud_p_c.py +1 -1
  47. msgraph/generated/models/cloud_pc_device_image.py +3 -3
  48. msgraph/generated/models/cloud_pc_domain_join_configuration.py +2 -2
  49. msgraph/generated/models/cloud_pc_gallery_image.py +1 -1
  50. msgraph/generated/models/cloud_pc_on_premises_connection_health_check.py +1 -1
  51. msgraph/generated/models/cloud_pc_provisioning_policy.py +1 -1
  52. msgraph/generated/models/cloud_pc_restore_point_setting.py +1 -1
  53. msgraph/generated/models/communications_guest_identity.py +4 -0
  54. msgraph/generated/models/communications_identity_set.py +1 -1
  55. msgraph/generated/models/company_subscription.py +1 -1
  56. msgraph/generated/models/conditional_access_condition_set.py +4 -4
  57. msgraph/generated/models/conditional_access_external_tenants.py +1 -1
  58. msgraph/generated/models/conditional_access_platforms.py +2 -2
  59. msgraph/generated/models/contract.py +1 -1
  60. msgraph/generated/models/copilot_report_root.py +53 -0
  61. msgraph/generated/models/custom_training_setting.py +1 -1
  62. msgraph/generated/models/data_policy_operation.py +1 -1
  63. msgraph/generated/models/desk.py +71 -0
  64. msgraph/generated/models/desk_collection_response.py +58 -0
  65. msgraph/generated/models/device.py +3 -3
  66. msgraph/generated/models/directory_audit.py +1 -1
  67. msgraph/generated/models/drop_in_place_mode.py +53 -0
  68. msgraph/generated/models/education_assignment.py +1 -1
  69. msgraph/generated/models/education_assignment_defaults.py +2 -2
  70. msgraph/generated/models/education_class.py +1 -1
  71. msgraph/generated/models/education_module.py +1 -1
  72. msgraph/generated/models/education_organization.py +1 -1
  73. msgraph/generated/models/education_submission.py +1 -1
  74. msgraph/generated/models/education_user.py +1 -1
  75. msgraph/generated/models/email_authentication_method_configuration.py +1 -1
  76. msgraph/generated/models/email_file_assessment_request.py +1 -1
  77. msgraph/generated/models/end_user_notification.py +3 -3
  78. msgraph/generated/models/end_user_notification_setting.py +2 -2
  79. msgraph/generated/models/entity.py +177 -0
  80. msgraph/generated/models/event.py +3 -3
  81. msgraph/generated/models/event_message_response.py +1 -1
  82. msgraph/generated/models/external_connectors/connection_operation.py +1 -1
  83. msgraph/generated/models/external_connectors/external_connection.py +1 -1
  84. msgraph/generated/models/external_connectors/identity.py +1 -1
  85. msgraph/generated/models/external_connectors/property_.py +1 -1
  86. msgraph/generated/models/fido2_authentication_method.py +1 -1
  87. msgraph/generated/models/fido2_key_restrictions.py +1 -1
  88. msgraph/generated/models/file_hash.py +1 -1
  89. msgraph/generated/models/file_storage_container.py +7 -0
  90. msgraph/generated/models/filter_operator_schema.py +1 -1
  91. msgraph/generated/models/fixture_map.py +57 -0
  92. msgraph/generated/models/fixture_map_collection_response.py +58 -0
  93. msgraph/generated/models/floor.py +57 -0
  94. msgraph/generated/models/floor_collection_response.py +58 -0
  95. msgraph/generated/models/footprint_map.py +53 -0
  96. msgraph/generated/models/footprint_map_collection_response.py +58 -0
  97. msgraph/generated/models/group.py +1 -1
  98. msgraph/generated/models/identity_governance/user_inactivity_trigger.py +57 -0
  99. msgraph/generated/models/identity_governance/workflow_execution_trigger.py +7 -0
  100. msgraph/generated/models/initiator.py +1 -1
  101. msgraph/generated/models/invitation.py +1 -1
  102. msgraph/generated/models/invitation_redemption_identity_provider_configuration.py +2 -2
  103. msgraph/generated/models/landing_page.py +2 -2
  104. msgraph/generated/models/learning_content.py +1 -1
  105. msgraph/generated/models/learning_course_activity.py +1 -1
  106. msgraph/generated/models/level_map.py +78 -0
  107. msgraph/generated/models/level_map_collection_response.py +58 -0
  108. msgraph/generated/models/login_page.py +2 -2
  109. msgraph/generated/models/mail_assessment_request.py +1 -1
  110. msgraph/generated/models/mail_tips.py +1 -1
  111. msgraph/generated/models/mailbox_details.py +58 -0
  112. msgraph/generated/models/mailbox_settings.py +2 -2
  113. msgraph/generated/models/malware_state_for_windows_device.py +2 -2
  114. msgraph/generated/models/microsoft_custom_training_setting.py +1 -1
  115. msgraph/generated/models/microsoft_managed_desktop.py +1 -1
  116. msgraph/generated/models/microsoft_training_assignment_mapping.py +1 -1
  117. msgraph/generated/models/network_connection.py +3 -3
  118. msgraph/generated/models/notebook.py +1 -1
  119. msgraph/generated/models/o_auth_consent_app_detail.py +1 -1
  120. msgraph/generated/models/object_definition_metadata_entry.py +1 -1
  121. msgraph/generated/models/object_mapping_metadata_entry.py +1 -1
  122. msgraph/generated/models/online_meeting_base.py +4 -4
  123. msgraph/generated/models/online_meeting_restricted.py +2 -2
  124. msgraph/generated/models/participant_info.py +1 -1
  125. msgraph/generated/models/partners/billing/operation.py +1 -1
  126. msgraph/generated/models/payload.py +8 -8
  127. msgraph/generated/models/persistent_browser_session_control.py +1 -1
  128. msgraph/generated/models/phone_authentication_method.py +2 -2
  129. msgraph/generated/models/place.py +54 -3
  130. msgraph/generated/models/place_mode.py +80 -0
  131. msgraph/generated/models/planner_plan_container.py +1 -1
  132. msgraph/generated/models/platform_credential_authentication_method.py +2 -2
  133. msgraph/generated/models/positive_reinforcement_notification.py +1 -1
  134. msgraph/generated/models/printer_capabilities.py +2 -2
  135. msgraph/generated/models/process.py +1 -1
  136. msgraph/generated/models/provisioning_object_summary.py +1 -1
  137. msgraph/generated/models/provisioning_status_info.py +1 -1
  138. msgraph/generated/models/provisioning_step.py +2 -2
  139. msgraph/generated/models/registry_key_state.py +3 -3
  140. msgraph/generated/models/remote_desktop_security_configuration.py +1 -1
  141. msgraph/generated/models/reservable_place_mode.py +53 -0
  142. msgraph/generated/models/resource_link.py +69 -0
  143. msgraph/generated/models/resource_link_type.py +6 -0
  144. msgraph/generated/models/resource_specific_permission_grant.py +1 -1
  145. msgraph/generated/models/response_status.py +1 -1
  146. msgraph/generated/models/restore_session_base.py +1 -1
  147. msgraph/generated/models/retention_label_settings.py +1 -1
  148. msgraph/generated/models/risk_detection.py +6 -6
  149. msgraph/generated/models/risk_service_principal_activity.py +1 -1
  150. msgraph/generated/models/risk_user_activity.py +1 -1
  151. msgraph/generated/models/risky_service_principal.py +1 -1
  152. msgraph/generated/models/risky_user.py +4 -4
  153. msgraph/generated/models/room.py +1 -13
  154. msgraph/generated/models/room_list.py +7 -0
  155. msgraph/generated/models/schedule_change_request.py +2 -2
  156. msgraph/generated/models/search/answer_variant.py +1 -1
  157. msgraph/generated/models/search/bookmark.py +1 -1
  158. msgraph/generated/models/search/qna.py +1 -1
  159. msgraph/generated/models/search_request.py +1 -1
  160. msgraph/generated/models/section.py +53 -0
  161. msgraph/generated/models/section_collection_response.py +58 -0
  162. msgraph/generated/models/section_map.py +57 -0
  163. msgraph/generated/models/section_map_collection_response.py +58 -0
  164. msgraph/generated/models/security/account.py +72 -0
  165. msgraph/generated/models/security/action.py +11 -0
  166. msgraph/generated/models/security/ai_agent_evidence.py +72 -0
  167. msgraph/generated/models/security/ai_agent_platform.py +9 -0
  168. msgraph/generated/models/security/alert.py +4 -4
  169. msgraph/generated/models/security/alert_evidence.py +7 -0
  170. msgraph/generated/models/security/case_operation.py +2 -2
  171. msgraph/generated/models/security/data_source_container.py +1 -1
  172. msgraph/generated/models/security/ediscovery_add_to_review_set_operation.py +4 -4
  173. msgraph/generated/models/security/ediscovery_case_settings.py +1 -1
  174. msgraph/generated/models/security/ediscovery_estimate_operation.py +1 -1
  175. msgraph/generated/models/security/ediscovery_export_operation.py +2 -2
  176. msgraph/generated/models/security/ediscovery_review_tag.py +1 -1
  177. msgraph/generated/models/security/ediscovery_search.py +1 -1
  178. msgraph/generated/models/security/ediscovery_search_export_operation.py +2 -2
  179. msgraph/generated/models/security/google_cloud_resource_evidence.py +1 -1
  180. msgraph/generated/models/security/identity_accounts.py +92 -0
  181. msgraph/generated/models/security/identity_accounts_collection_response.py +58 -0
  182. msgraph/generated/models/security/identity_container.py +7 -0
  183. msgraph/generated/models/security/identity_provider.py +8 -0
  184. msgraph/generated/models/security/incident.py +2 -2
  185. msgraph/generated/models/security/invoke_action_result.py +76 -0
  186. msgraph/generated/models/security/kubernetes_cluster_evidence.py +1 -1
  187. msgraph/generated/models/security/kubernetes_service_port.py +1 -1
  188. msgraph/generated/models/security/teams_message_evidence.py +2 -2
  189. msgraph/generated/models/security/unified_group_source.py +1 -1
  190. msgraph/generated/models/security/user.py +61 -0
  191. msgraph/generated/models/security/user_source.py +1 -1
  192. msgraph/generated/models/security_resource.py +1 -1
  193. msgraph/generated/models/send_dtmf_tones_operation.py +1 -1
  194. msgraph/generated/models/service_health_issue_post.py +1 -1
  195. msgraph/generated/models/service_principal.py +1 -1
  196. msgraph/generated/models/service_principal_risk_detection.py +2 -2
  197. msgraph/generated/models/share_point_migration_container_info.py +62 -0
  198. msgraph/generated/models/share_point_migration_event.py +127 -0
  199. msgraph/generated/models/share_point_migration_event_collection_response.py +58 -0
  200. msgraph/generated/models/share_point_migration_finish_manifest_file_upload_event.py +57 -0
  201. msgraph/generated/models/share_point_migration_job.py +67 -0
  202. msgraph/generated/models/share_point_migration_job_cancelled_event.py +61 -0
  203. msgraph/generated/models/share_point_migration_job_collection_response.py +58 -0
  204. msgraph/generated/models/share_point_migration_job_deleted_event.py +53 -0
  205. msgraph/generated/models/share_point_migration_job_error_event.py +86 -0
  206. msgraph/generated/models/share_point_migration_job_error_level.py +9 -0
  207. msgraph/generated/models/share_point_migration_job_postponed_event.py +70 -0
  208. msgraph/generated/models/share_point_migration_job_progress_event.py +121 -0
  209. msgraph/generated/models/share_point_migration_job_queued_event.py +53 -0
  210. msgraph/generated/models/share_point_migration_job_start_event.py +61 -0
  211. msgraph/generated/models/share_point_migration_object_type.py +14 -0
  212. msgraph/generated/models/sharepoint_settings.py +3 -3
  213. msgraph/generated/models/sign_in.py +2 -2
  214. msgraph/generated/models/sign_in_frequency_session_control.py +1 -1
  215. msgraph/generated/models/simulation.py +4 -4
  216. msgraph/generated/models/simulation_notification.py +1 -1
  217. msgraph/generated/models/site_collection.py +1 -1
  218. msgraph/generated/models/subject_rights_request.py +3 -3
  219. msgraph/generated/models/subject_rights_request_history.py +2 -2
  220. msgraph/generated/models/subject_rights_request_stage_detail.py +2 -2
  221. msgraph/generated/models/subscribed_sku.py +2 -2
  222. msgraph/generated/models/synchronization_metadata_entry.py +1 -1
  223. msgraph/generated/models/target_resource.py +1 -1
  224. msgraph/generated/models/team_fun_settings.py +1 -1
  225. msgraph/generated/models/teams_app_definition.py +1 -1
  226. msgraph/generated/models/teamwork_activity_topic.py +1 -1
  227. msgraph/generated/models/teamwork_application_identity.py +1 -1
  228. msgraph/generated/models/teamwork_conversation_identity.py +1 -1
  229. msgraph/generated/models/teamwork_user_identity.py +1 -1
  230. msgraph/generated/models/term_store/group.py +1 -1
  231. msgraph/generated/models/term_store/relation.py +1 -1
  232. msgraph/generated/models/threat_assessment_request.py +3 -3
  233. msgraph/generated/models/threat_assessment_result.py +1 -1
  234. msgraph/generated/models/time_card.py +1 -1
  235. msgraph/generated/models/training.py +3 -3
  236. msgraph/generated/models/training_reminder_notification.py +1 -1
  237. msgraph/generated/models/training_setting.py +1 -1
  238. msgraph/generated/models/unit_map.py +57 -0
  239. msgraph/generated/models/unit_map_collection_response.py +58 -0
  240. msgraph/generated/models/user_experience_analytics_app_health_app_performance_by_o_s_version.py +2 -2
  241. msgraph/generated/models/user_experience_analytics_app_health_application_performance.py +2 -2
  242. msgraph/generated/models/user_experience_analytics_app_health_device_performance_details.py +2 -2
  243. msgraph/generated/models/user_registration_details.py +2 -2
  244. msgraph/generated/models/user_registration_feature_summary.py +2 -2
  245. msgraph/generated/models/user_registration_method_summary.py +2 -2
  246. msgraph/generated/models/user_security_state.py +3 -3
  247. msgraph/generated/models/user_training_event_info.py +1 -1
  248. msgraph/generated/models/user_training_status_info.py +1 -1
  249. msgraph/generated/models/virtual_event_townhall.py +1 -1
  250. msgraph/generated/models/virtual_event_webinar.py +1 -1
  251. msgraph/generated/models/win32_lob_app.py +2 -2
  252. msgraph/generated/models/win32_lob_app_power_shell_script_rule.py +1 -1
  253. msgraph/generated/models/windows_device_malware_state.py +5 -5
  254. msgraph/generated/models/windows_hello_for_business_authentication_method.py +1 -1
  255. msgraph/generated/models/windows_malware_information.py +2 -2
  256. msgraph/generated/models/windows_protection_state.py +2 -2
  257. msgraph/generated/models/windows_update_for_business_configuration.py +2 -2
  258. msgraph/generated/models/workbook_application.py +1 -1
  259. msgraph/generated/models/workbook_named_item.py +1 -1
  260. msgraph/generated/models/workbook_range_format.py +2 -2
  261. msgraph/generated/models/workbook_table.py +1 -1
  262. msgraph/generated/models/workforce_integration.py +2 -2
  263. msgraph/generated/models/workforce_integration_encryption.py +1 -1
  264. msgraph/generated/models/workspace.py +76 -0
  265. msgraph/generated/models/workspace_collection_response.py +58 -0
  266. msgraph/generated/places/graph_building/count/count_request_builder.py +104 -0
  267. msgraph/generated/places/graph_building/graph_building_request_builder.py +148 -0
  268. msgraph/generated/places/graph_desk/count/count_request_builder.py +104 -0
  269. msgraph/generated/places/graph_desk/graph_desk_request_builder.py +148 -0
  270. msgraph/generated/places/graph_floor/count/count_request_builder.py +104 -0
  271. msgraph/generated/places/graph_floor/graph_floor_request_builder.py +148 -0
  272. msgraph/generated/places/graph_room/graph_room_request_builder.py +3 -3
  273. msgraph/generated/places/graph_section/count/count_request_builder.py +104 -0
  274. msgraph/generated/places/graph_section/graph_section_request_builder.py +148 -0
  275. msgraph/generated/places/graph_workspace/count/count_request_builder.py +104 -0
  276. msgraph/generated/places/graph_workspace/graph_workspace_request_builder.py +148 -0
  277. msgraph/generated/places/item/check_ins/check_ins_request_builder.py +6 -5
  278. msgraph/generated/places/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +4 -3
  279. msgraph/generated/places/item/descendants/descendants_get_response.py +58 -0
  280. msgraph/generated/places/item/descendants/descendants_request_builder.py +137 -0
  281. msgraph/generated/places/item/graph_building/check_ins/check_ins_request_builder.py +208 -0
  282. msgraph/generated/places/item/graph_building/check_ins/count/count_request_builder.py +104 -0
  283. msgraph/generated/places/item/graph_building/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
  284. msgraph/generated/places/item/graph_building/graph_building_request_builder.py +128 -0
  285. msgraph/generated/places/item/graph_building/map/footprints/count/count_request_builder.py +104 -0
  286. msgraph/generated/places/item/graph_building/map/footprints/footprints_request_builder.py +209 -0
  287. msgraph/generated/places/item/graph_building/map/footprints/item/footprint_map_item_request_builder.py +188 -0
  288. msgraph/generated/places/item/graph_building/map/levels/count/count_request_builder.py +104 -0
  289. msgraph/generated/places/item/graph_building/map/levels/item/fixtures/count/count_request_builder.py +104 -0
  290. msgraph/generated/places/item/graph_building/map/levels/item/fixtures/fixtures_request_builder.py +209 -0
  291. msgraph/generated/places/item/graph_building/map/levels/item/fixtures/item/fixture_map_item_request_builder.py +190 -0
  292. msgraph/generated/places/item/graph_building/map/levels/item/level_map_item_request_builder.py +218 -0
  293. msgraph/generated/places/item/graph_building/map/levels/item/sections/count/count_request_builder.py +104 -0
  294. msgraph/generated/places/item/graph_building/map/levels/item/sections/item/section_map_item_request_builder.py +188 -0
  295. msgraph/generated/places/item/graph_building/map/levels/item/sections/sections_request_builder.py +209 -0
  296. msgraph/generated/places/item/graph_building/map/levels/item/units/count/count_request_builder.py +104 -0
  297. msgraph/generated/places/item/graph_building/map/levels/item/units/item/unit_map_item_request_builder.py +190 -0
  298. msgraph/generated/places/item/graph_building/map/levels/item/units/units_request_builder.py +209 -0
  299. msgraph/generated/places/item/graph_building/map/levels/levels_request_builder.py +209 -0
  300. msgraph/generated/places/item/graph_building/map/map_request_builder.py +210 -0
  301. msgraph/generated/places/item/graph_desk/check_ins/check_ins_request_builder.py +208 -0
  302. msgraph/generated/places/item/graph_desk/check_ins/count/count_request_builder.py +104 -0
  303. msgraph/generated/places/item/graph_desk/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
  304. msgraph/generated/places/item/graph_desk/graph_desk_request_builder.py +118 -0
  305. msgraph/generated/places/item/graph_floor/check_ins/check_ins_request_builder.py +208 -0
  306. msgraph/generated/places/item/graph_floor/check_ins/count/count_request_builder.py +104 -0
  307. msgraph/generated/places/item/graph_floor/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
  308. msgraph/generated/places/item/graph_floor/graph_floor_request_builder.py +118 -0
  309. msgraph/generated/places/item/graph_room/check_ins/check_ins_request_builder.py +3 -3
  310. msgraph/generated/places/item/graph_room/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
  311. msgraph/generated/places/item/graph_room/graph_room_request_builder.py +3 -3
  312. msgraph/generated/places/item/graph_room_list/check_ins/check_ins_request_builder.py +3 -3
  313. msgraph/generated/places/item/graph_room_list/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
  314. msgraph/generated/places/item/graph_room_list/graph_room_list_request_builder.py +10 -0
  315. msgraph/generated/places/item/graph_room_list/rooms/item/check_ins/check_ins_request_builder.py +3 -3
  316. msgraph/generated/places/item/graph_room_list/rooms/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
  317. msgraph/generated/places/item/graph_room_list/workspaces/count/count_request_builder.py +104 -0
  318. msgraph/generated/places/item/graph_room_list/workspaces/item/check_ins/check_ins_request_builder.py +208 -0
  319. msgraph/generated/places/item/graph_room_list/workspaces/item/check_ins/count/count_request_builder.py +104 -0
  320. msgraph/generated/places/item/graph_room_list/workspaces/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
  321. msgraph/generated/places/item/graph_room_list/workspaces/item/workspace_item_request_builder.py +198 -0
  322. msgraph/generated/places/item/graph_room_list/workspaces/workspaces_request_builder.py +208 -0
  323. msgraph/generated/places/item/graph_section/check_ins/check_ins_request_builder.py +208 -0
  324. msgraph/generated/places/item/graph_section/check_ins/count/count_request_builder.py +104 -0
  325. msgraph/generated/places/item/graph_section/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
  326. msgraph/generated/places/item/graph_section/graph_section_request_builder.py +118 -0
  327. msgraph/generated/places/item/graph_workspace/check_ins/check_ins_request_builder.py +208 -0
  328. msgraph/generated/places/item/graph_workspace/check_ins/count/count_request_builder.py +104 -0
  329. msgraph/generated/places/item/graph_workspace/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
  330. msgraph/generated/places/item/graph_workspace/graph_workspace_request_builder.py +118 -0
  331. msgraph/generated/places/item/place_item_request_builder.py +65 -4
  332. msgraph/generated/places/places_request_builder.py +53 -2
  333. msgraph/generated/security/identities/identities_request_builder.py +10 -0
  334. msgraph/generated/security/identities/identity_accounts/count/count_request_builder.py +104 -0
  335. msgraph/generated/security/identities/identity_accounts/identity_accounts_request_builder.py +209 -0
  336. msgraph/generated/security/identities/identity_accounts/item/identity_accounts_item_request_builder.py +199 -0
  337. msgraph/generated/security/identities/identity_accounts/item/microsoft_graph_security_invoke_action/invoke_action_post_request_body.py +68 -0
  338. msgraph/generated/security/identities/identity_accounts/item/microsoft_graph_security_invoke_action/microsoft_graph_security_invoke_action_request_builder.py +90 -0
  339. msgraph/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/sessions_request_builder.py +3 -3
  340. msgraph/generated/storage/file_storage/containers/item/file_storage_container_item_request_builder.py +20 -0
  341. msgraph/generated/storage/file_storage/containers/item/migration_jobs/count/count_request_builder.py +104 -0
  342. msgraph/generated/storage/file_storage/containers/item/migration_jobs/item/progress_events/count/count_request_builder.py +104 -0
  343. msgraph/generated/storage/file_storage/containers/item/migration_jobs/item/progress_events/item/share_point_migration_event_item_request_builder.py +188 -0
  344. msgraph/generated/storage/file_storage/containers/item/migration_jobs/item/progress_events/progress_events_request_builder.py +208 -0
  345. msgraph/generated/storage/file_storage/containers/item/migration_jobs/item/share_point_migration_job_item_request_builder.py +198 -0
  346. msgraph/generated/storage/file_storage/containers/item/migration_jobs/migration_jobs_request_builder.py +208 -0
  347. msgraph/generated/storage/file_storage/containers/item/provision_migration_containers/provision_migration_containers_request_builder.py +81 -0
  348. msgraph/generated/storage/file_storage/deleted_containers/item/file_storage_container_item_request_builder.py +20 -0
  349. msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/count/count_request_builder.py +104 -0
  350. msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/item/progress_events/count/count_request_builder.py +104 -0
  351. msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/item/progress_events/item/share_point_migration_event_item_request_builder.py +188 -0
  352. msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/item/progress_events/progress_events_request_builder.py +208 -0
  353. msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/item/share_point_migration_job_item_request_builder.py +198 -0
  354. msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/migration_jobs_request_builder.py +208 -0
  355. msgraph/generated/storage/file_storage/deleted_containers/item/provision_migration_containers/provision_migration_containers_request_builder.py +81 -0
  356. msgraph/generated/users/item/chats/item/chat_item_request_builder.py +10 -0
  357. msgraph/generated/users/item/chats/item/remove_all_access_for_user/remove_all_access_for_user_post_request_body.py +57 -0
  358. msgraph/generated/users/item/chats/item/remove_all_access_for_user/remove_all_access_for_user_request_builder.py +87 -0
  359. msgraph/generated/users/item/online_meetings/item/recordings/item/call_recording_item_request_builder.py +3 -3
  360. msgraph/generated/users/item/online_meetings/item/recordings/recordings_request_builder.py +3 -3
  361. msgraph/generated/users/item/online_meetings/item/transcripts/item/call_transcript_item_request_builder.py +3 -3
  362. msgraph/generated/users/item/online_meetings/item/transcripts/item/content/content_request_builder.py +2 -2
  363. msgraph/generated/users/item/online_meetings/item/transcripts/item/metadata_content/metadata_content_request_builder.py +2 -2
  364. msgraph/generated/users/item/online_meetings/item/transcripts/transcripts_request_builder.py +3 -3
  365. {msgraph_sdk-1.49.0.dist-info → msgraph_sdk-1.51.0.dist-info}/METADATA +1 -1
  366. {msgraph_sdk-1.49.0.dist-info → msgraph_sdk-1.51.0.dist-info}/RECORD +368 -236
  367. {msgraph_sdk-1.49.0.dist-info → msgraph_sdk-1.51.0.dist-info}/WHEEL +0 -0
  368. {msgraph_sdk-1.49.0.dist-info → msgraph_sdk-1.51.0.dist-info}/licenses/LICENSE +0 -0
@@ -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.check_in_claim import CheckInClaim
18
+ from ......models.o_data_errors.o_data_error import ODataError
19
+
20
+ class CheckInClaimCalendarEventItemRequestBuilder(BaseRequestBuilder):
21
+ """
22
+ Provides operations to manage the checkIns property of the microsoft.graph.place entity.
23
+ """
24
+ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None:
25
+ """
26
+ Instantiates a new CheckInClaimCalendarEventItemRequestBuilder 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}/places/{place%2Did}/graph.floor/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", path_parameters)
32
+
33
+ async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
34
+ """
35
+ Delete navigation property checkIns for places
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[CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters]] = None) -> Optional[CheckInClaim]:
52
+ """
53
+ A subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place.
54
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
55
+ Returns: Optional[CheckInClaim]
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.check_in_claim import CheckInClaim
68
+
69
+ return await self.request_adapter.send_async(request_info, CheckInClaim, error_mapping)
70
+
71
+ async def patch(self,body: CheckInClaim, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CheckInClaim]:
72
+ """
73
+ Update the navigation property checkIns in places
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[CheckInClaim]
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.check_in_claim import CheckInClaim
91
+
92
+ return await self.request_adapter.send_async(request_info, CheckInClaim, error_mapping)
93
+
94
+ def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
95
+ """
96
+ Delete navigation property checkIns for places
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[CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
106
+ """
107
+ A subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place.
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: CheckInClaim, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
117
+ """
118
+ Update the navigation property checkIns in places
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) -> CheckInClaimCalendarEventItemRequestBuilder:
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: CheckInClaimCalendarEventItemRequestBuilder
136
+ """
137
+ if raw_url is None:
138
+ raise TypeError("raw_url cannot be null.")
139
+ return CheckInClaimCalendarEventItemRequestBuilder(self.request_adapter, raw_url)
140
+
141
+ @dataclass
142
+ class CheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration(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 CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters():
150
+ """
151
+ A subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place.
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 CheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration(RequestConfiguration[CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters]):
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 CheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration(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
+
@@ -0,0 +1,118 @@
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.floor import Floor
18
+ from ....models.o_data_errors.o_data_error import ODataError
19
+ from .check_ins.check_ins_request_builder import CheckInsRequestBuilder
20
+
21
+ class GraphFloorRequestBuilder(BaseRequestBuilder):
22
+ """
23
+ Casts the previous resource to floor.
24
+ """
25
+ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None:
26
+ """
27
+ Instantiates a new GraphFloorRequestBuilder and sets the default values.
28
+ param path_parameters: The raw url or the url-template parameters for the request.
29
+ param request_adapter: The request adapter to use to execute the requests.
30
+ Returns: None
31
+ """
32
+ super().__init__(request_adapter, "{+baseurl}/places/{place%2Did}/graph.floor{?%24expand,%24select}", path_parameters)
33
+
34
+ async def get(self,request_configuration: Optional[RequestConfiguration[GraphFloorRequestBuilderGetQueryParameters]] = None) -> Optional[Floor]:
35
+ """
36
+ Get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list.
37
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
38
+ Returns: Optional[Floor]
39
+ Find more info here: https://learn.microsoft.com/graph/api/place-list?view=graph-rest-1.0
40
+ """
41
+ request_info = self.to_get_request_information(
42
+ request_configuration
43
+ )
44
+ from ....models.o_data_errors.o_data_error import ODataError
45
+
46
+ error_mapping: dict[str, type[ParsableFactory]] = {
47
+ "XXX": ODataError,
48
+ }
49
+ if not self.request_adapter:
50
+ raise Exception("Http core is null")
51
+ from ....models.floor import Floor
52
+
53
+ return await self.request_adapter.send_async(request_info, Floor, error_mapping)
54
+
55
+ def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GraphFloorRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
56
+ """
57
+ Get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list.
58
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
59
+ Returns: RequestInformation
60
+ """
61
+ request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
62
+ request_info.configure(request_configuration)
63
+ request_info.headers.try_add("Accept", "application/json")
64
+ return request_info
65
+
66
+ def with_url(self,raw_url: str) -> GraphFloorRequestBuilder:
67
+ """
68
+ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
69
+ param raw_url: The raw URL to use for the request builder.
70
+ Returns: GraphFloorRequestBuilder
71
+ """
72
+ if raw_url is None:
73
+ raise TypeError("raw_url cannot be null.")
74
+ return GraphFloorRequestBuilder(self.request_adapter, raw_url)
75
+
76
+ @property
77
+ def check_ins(self) -> CheckInsRequestBuilder:
78
+ """
79
+ Provides operations to manage the checkIns property of the microsoft.graph.place entity.
80
+ """
81
+ from .check_ins.check_ins_request_builder import CheckInsRequestBuilder
82
+
83
+ return CheckInsRequestBuilder(self.request_adapter, self.path_parameters)
84
+
85
+ @dataclass
86
+ class GraphFloorRequestBuilderGetQueryParameters():
87
+ """
88
+ Get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list.
89
+ """
90
+ def get_query_parameter(self,original_name: str) -> str:
91
+ """
92
+ Maps the query parameters names to their encoded names for the URI template parsing.
93
+ param original_name: The original query parameter name in the class.
94
+ Returns: str
95
+ """
96
+ if original_name is None:
97
+ raise TypeError("original_name cannot be null.")
98
+ if original_name == "expand":
99
+ return "%24expand"
100
+ if original_name == "select":
101
+ return "%24select"
102
+ return original_name
103
+
104
+ # Expand related entities
105
+ expand: Optional[list[str]] = None
106
+
107
+ # Select properties to be returned
108
+ select: Optional[list[str]] = None
109
+
110
+
111
+ @dataclass
112
+ class GraphFloorRequestBuilderGetRequestConfiguration(RequestConfiguration[GraphFloorRequestBuilderGetQueryParameters]):
113
+ """
114
+ Configuration for the request such as headers, query parameters, and middleware options.
115
+ """
116
+ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
117
+
118
+
@@ -49,7 +49,7 @@ class CheckInsRequestBuilder(BaseRequestBuilder):
49
49
 
50
50
  async def get(self,request_configuration: Optional[RequestConfiguration[CheckInsRequestBuilderGetQueryParameters]] = None) -> Optional[CheckInClaimCollectionResponse]:
51
51
  """
52
- Get checkIns from places
52
+ A subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place.
53
53
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
54
54
  Returns: Optional[CheckInClaimCollectionResponse]
55
55
  """
@@ -92,7 +92,7 @@ class CheckInsRequestBuilder(BaseRequestBuilder):
92
92
 
93
93
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CheckInsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
94
94
  """
95
- Get checkIns from places
95
+ A subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place.
96
96
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
97
97
  Returns: RequestInformation
98
98
  """
@@ -138,7 +138,7 @@ class CheckInsRequestBuilder(BaseRequestBuilder):
138
138
  @dataclass
139
139
  class CheckInsRequestBuilderGetQueryParameters():
140
140
  """
141
- Get checkIns from places
141
+ A subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place.
142
142
  """
143
143
  def get_query_parameter(self,original_name: str) -> str:
144
144
  """
@@ -50,7 +50,7 @@ class CheckInClaimCalendarEventItemRequestBuilder(BaseRequestBuilder):
50
50
 
51
51
  async def get(self,request_configuration: Optional[RequestConfiguration[CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters]] = None) -> Optional[CheckInClaim]:
52
52
  """
53
- Get checkIns from places
53
+ A subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place.
54
54
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
55
55
  Returns: Optional[CheckInClaim]
56
56
  """
@@ -104,7 +104,7 @@ class CheckInClaimCalendarEventItemRequestBuilder(BaseRequestBuilder):
104
104
 
105
105
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
106
106
  """
107
- Get checkIns from places
107
+ A subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place.
108
108
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
109
109
  Returns: RequestInformation
110
110
  """
@@ -148,7 +148,7 @@ class CheckInClaimCalendarEventItemRequestBuilder(BaseRequestBuilder):
148
148
  @dataclass
149
149
  class CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters():
150
150
  """
151
- Get checkIns from places
151
+ A subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place.
152
152
  """
153
153
  def get_query_parameter(self,original_name: str) -> str:
154
154
  """
@@ -33,7 +33,7 @@ class GraphRoomRequestBuilder(BaseRequestBuilder):
33
33
 
34
34
  async def get(self,request_configuration: Optional[RequestConfiguration[GraphRoomRequestBuilderGetQueryParameters]] = None) -> Optional[Room]:
35
35
  """
36
- Get a collection of the specified type of place objects defined in the tenant. For example, you can get all the rooms, all the room lists, or the rooms in a specific room list in the tenant. A place object can be one of the following types: Both room and roomList are derived from the place object. By default, this operation returns 100 places per page. Compared with the findRooms and findRoomLists functions, this operation returns a richer payload for rooms and room lists. See details for how they compare.
36
+ Get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list.
37
37
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
38
38
  Returns: Optional[Room]
39
39
  Find more info here: https://learn.microsoft.com/graph/api/place-list?view=graph-rest-1.0
@@ -54,7 +54,7 @@ class GraphRoomRequestBuilder(BaseRequestBuilder):
54
54
 
55
55
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GraphRoomRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
56
56
  """
57
- Get a collection of the specified type of place objects defined in the tenant. For example, you can get all the rooms, all the room lists, or the rooms in a specific room list in the tenant. A place object can be one of the following types: Both room and roomList are derived from the place object. By default, this operation returns 100 places per page. Compared with the findRooms and findRoomLists functions, this operation returns a richer payload for rooms and room lists. See details for how they compare.
57
+ Get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list.
58
58
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
59
59
  Returns: RequestInformation
60
60
  """
@@ -85,7 +85,7 @@ class GraphRoomRequestBuilder(BaseRequestBuilder):
85
85
  @dataclass
86
86
  class GraphRoomRequestBuilderGetQueryParameters():
87
87
  """
88
- Get a collection of the specified type of place objects defined in the tenant. For example, you can get all the rooms, all the room lists, or the rooms in a specific room list in the tenant. A place object can be one of the following types: Both room and roomList are derived from the place object. By default, this operation returns 100 places per page. Compared with the findRooms and findRoomLists functions, this operation returns a richer payload for rooms and room lists. See details for how they compare.
88
+ Get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list.
89
89
  """
90
90
  def get_query_parameter(self,original_name: str) -> str:
91
91
  """
@@ -49,7 +49,7 @@ class CheckInsRequestBuilder(BaseRequestBuilder):
49
49
 
50
50
  async def get(self,request_configuration: Optional[RequestConfiguration[CheckInsRequestBuilderGetQueryParameters]] = None) -> Optional[CheckInClaimCollectionResponse]:
51
51
  """
52
- Get checkIns from places
52
+ A subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place.
53
53
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
54
54
  Returns: Optional[CheckInClaimCollectionResponse]
55
55
  """
@@ -92,7 +92,7 @@ class CheckInsRequestBuilder(BaseRequestBuilder):
92
92
 
93
93
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CheckInsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
94
94
  """
95
- Get checkIns from places
95
+ A subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place.
96
96
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
97
97
  Returns: RequestInformation
98
98
  """
@@ -138,7 +138,7 @@ class CheckInsRequestBuilder(BaseRequestBuilder):
138
138
  @dataclass
139
139
  class CheckInsRequestBuilderGetQueryParameters():
140
140
  """
141
- Get checkIns from places
141
+ A subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place.
142
142
  """
143
143
  def get_query_parameter(self,original_name: str) -> str:
144
144
  """
@@ -50,7 +50,7 @@ class CheckInClaimCalendarEventItemRequestBuilder(BaseRequestBuilder):
50
50
 
51
51
  async def get(self,request_configuration: Optional[RequestConfiguration[CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters]] = None) -> Optional[CheckInClaim]:
52
52
  """
53
- Get checkIns from places
53
+ A subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place.
54
54
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
55
55
  Returns: Optional[CheckInClaim]
56
56
  """
@@ -104,7 +104,7 @@ class CheckInClaimCalendarEventItemRequestBuilder(BaseRequestBuilder):
104
104
 
105
105
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
106
106
  """
107
- Get checkIns from places
107
+ A subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place.
108
108
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
109
109
  Returns: RequestInformation
110
110
  """
@@ -148,7 +148,7 @@ class CheckInClaimCalendarEventItemRequestBuilder(BaseRequestBuilder):
148
148
  @dataclass
149
149
  class CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters():
150
150
  """
151
- Get checkIns from places
151
+ A subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place.
152
152
  """
153
153
  def get_query_parameter(self,original_name: str) -> str:
154
154
  """
@@ -18,6 +18,7 @@ if TYPE_CHECKING:
18
18
  from ....models.room_list import RoomList
19
19
  from .check_ins.check_ins_request_builder import CheckInsRequestBuilder
20
20
  from .rooms.rooms_request_builder import RoomsRequestBuilder
21
+ from .workspaces.workspaces_request_builder import WorkspacesRequestBuilder
21
22
 
22
23
  class GraphRoomListRequestBuilder(BaseRequestBuilder):
23
24
  """
@@ -91,6 +92,15 @@ class GraphRoomListRequestBuilder(BaseRequestBuilder):
91
92
 
92
93
  return RoomsRequestBuilder(self.request_adapter, self.path_parameters)
93
94
 
95
+ @property
96
+ def workspaces(self) -> WorkspacesRequestBuilder:
97
+ """
98
+ Provides operations to manage the workspaces property of the microsoft.graph.roomList entity.
99
+ """
100
+ from .workspaces.workspaces_request_builder import WorkspacesRequestBuilder
101
+
102
+ return WorkspacesRequestBuilder(self.request_adapter, self.path_parameters)
103
+
94
104
  @dataclass
95
105
  class GraphRoomListRequestBuilderGetQueryParameters():
96
106
  """
@@ -49,7 +49,7 @@ class CheckInsRequestBuilder(BaseRequestBuilder):
49
49
 
50
50
  async def get(self,request_configuration: Optional[RequestConfiguration[CheckInsRequestBuilderGetQueryParameters]] = None) -> Optional[CheckInClaimCollectionResponse]:
51
51
  """
52
- Get checkIns from places
52
+ A subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place.
53
53
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
54
54
  Returns: Optional[CheckInClaimCollectionResponse]
55
55
  """
@@ -92,7 +92,7 @@ class CheckInsRequestBuilder(BaseRequestBuilder):
92
92
 
93
93
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CheckInsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
94
94
  """
95
- Get checkIns from places
95
+ A subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place.
96
96
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
97
97
  Returns: RequestInformation
98
98
  """
@@ -138,7 +138,7 @@ class CheckInsRequestBuilder(BaseRequestBuilder):
138
138
  @dataclass
139
139
  class CheckInsRequestBuilderGetQueryParameters():
140
140
  """
141
- Get checkIns from places
141
+ A subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place.
142
142
  """
143
143
  def get_query_parameter(self,original_name: str) -> str:
144
144
  """
@@ -50,7 +50,7 @@ class CheckInClaimCalendarEventItemRequestBuilder(BaseRequestBuilder):
50
50
 
51
51
  async def get(self,request_configuration: Optional[RequestConfiguration[CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters]] = None) -> Optional[CheckInClaim]:
52
52
  """
53
- Get checkIns from places
53
+ A subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place.
54
54
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
55
55
  Returns: Optional[CheckInClaim]
56
56
  """
@@ -104,7 +104,7 @@ class CheckInClaimCalendarEventItemRequestBuilder(BaseRequestBuilder):
104
104
 
105
105
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
106
106
  """
107
- Get checkIns from places
107
+ A subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place.
108
108
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
109
109
  Returns: RequestInformation
110
110
  """
@@ -148,7 +148,7 @@ class CheckInClaimCalendarEventItemRequestBuilder(BaseRequestBuilder):
148
148
  @dataclass
149
149
  class CheckInClaimCalendarEventItemRequestBuilderGetQueryParameters():
150
150
  """
151
- Get checkIns from places
151
+ A subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place.
152
152
  """
153
153
  def get_query_parameter(self,original_name: str) -> str:
154
154
  """
@@ -0,0 +1,104 @@
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 CountRequestBuilder(BaseRequestBuilder):
20
+ """
21
+ Provides operations to count the resources in the collection.
22
+ """
23
+ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None:
24
+ """
25
+ Instantiates a new CountRequestBuilder 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}/places/{place%2Did}/graph.roomList/workspaces/$count{?%24filter,%24search}", path_parameters)
31
+
32
+ async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]:
33
+ """
34
+ Get the number of the resource
35
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
36
+ Returns: Optional[int]
37
+ """
38
+ request_info = self.to_get_request_information(
39
+ request_configuration
40
+ )
41
+ from ......models.o_data_errors.o_data_error import ODataError
42
+
43
+ error_mapping: dict[str, type[ParsableFactory]] = {
44
+ "XXX": ODataError,
45
+ }
46
+ if not self.request_adapter:
47
+ raise Exception("Http core is null")
48
+ return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)
49
+
50
+ def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
51
+ """
52
+ Get the number of the resource
53
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
54
+ Returns: RequestInformation
55
+ """
56
+ request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
57
+ request_info.configure(request_configuration)
58
+ request_info.headers.try_add("Accept", "text/plain;q=0.9")
59
+ return request_info
60
+
61
+ def with_url(self,raw_url: str) -> CountRequestBuilder:
62
+ """
63
+ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
64
+ param raw_url: The raw URL to use for the request builder.
65
+ Returns: CountRequestBuilder
66
+ """
67
+ if raw_url is None:
68
+ raise TypeError("raw_url cannot be null.")
69
+ return CountRequestBuilder(self.request_adapter, raw_url)
70
+
71
+ @dataclass
72
+ class CountRequestBuilderGetQueryParameters():
73
+ """
74
+ Get the number of the resource
75
+ """
76
+ def get_query_parameter(self,original_name: str) -> str:
77
+ """
78
+ Maps the query parameters names to their encoded names for the URI template parsing.
79
+ param original_name: The original query parameter name in the class.
80
+ Returns: str
81
+ """
82
+ if original_name is None:
83
+ raise TypeError("original_name cannot be null.")
84
+ if original_name == "filter":
85
+ return "%24filter"
86
+ if original_name == "search":
87
+ return "%24search"
88
+ return original_name
89
+
90
+ # Filter items by property values
91
+ filter: Optional[str] = None
92
+
93
+ # Search items by search phrases
94
+ search: Optional[str] = None
95
+
96
+
97
+ @dataclass
98
+ class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]):
99
+ """
100
+ Configuration for the request such as headers, query parameters, and middleware options.
101
+ """
102
+ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
103
+
104
+