msgraph-sdk 1.48.0__py3-none-any.whl → 1.50.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 (328) hide show
  1. msgraph/_version.py +1 -1
  2. msgraph/generated/applications/item/restore/restore_request_builder.py +2 -2
  3. msgraph/generated/chats/item/chat_item_request_builder.py +10 -0
  4. msgraph/generated/chats/item/remove_all_access_for_user/remove_all_access_for_user_post_request_body.py +57 -0
  5. msgraph/generated/chats/item/remove_all_access_for_user/remove_all_access_for_user_request_builder.py +87 -0
  6. msgraph/generated/contacts/item/restore/restore_request_builder.py +2 -2
  7. msgraph/generated/contracts/item/restore/restore_request_builder.py +2 -2
  8. msgraph/generated/devices/item/restore/restore_request_builder.py +2 -2
  9. msgraph/generated/directory/deleted_items/item/restore/restore_request_builder.py +2 -2
  10. msgraph/generated/directory_objects/item/restore/restore_request_builder.py +2 -2
  11. msgraph/generated/directory_role_templates/item/restore/restore_request_builder.py +2 -2
  12. msgraph/generated/directory_roles/item/restore/restore_request_builder.py +2 -2
  13. msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py +4 -3
  14. msgraph/generated/drives/item/recent/recent_request_builder.py +3 -3
  15. msgraph/generated/employee_experience/employee_experience_request_builder.py +10 -0
  16. msgraph/generated/employee_experience/roles/count/count_request_builder.py +104 -0
  17. msgraph/generated/employee_experience/roles/item/engagement_role_item_request_builder.py +198 -0
  18. msgraph/generated/employee_experience/roles/item/members/count/count_request_builder.py +104 -0
  19. msgraph/generated/employee_experience/roles/item/members/item/engagement_role_member_item_request_builder.py +199 -0
  20. msgraph/generated/employee_experience/roles/item/members/item/user/mailbox_settings/mailbox_settings_request_builder.py +152 -0
  21. msgraph/generated/employee_experience/roles/item/members/item/user/service_provisioning_errors/count/count_request_builder.py +104 -0
  22. msgraph/generated/employee_experience/roles/item/members/item/user/service_provisioning_errors/service_provisioning_errors_request_builder.py +147 -0
  23. msgraph/generated/employee_experience/roles/item/members/item/user/user_request_builder.py +127 -0
  24. msgraph/generated/employee_experience/roles/item/members/members_request_builder.py +210 -0
  25. msgraph/generated/employee_experience/roles/roles_request_builder.py +209 -0
  26. msgraph/generated/group_setting_templates/item/restore/restore_request_builder.py +2 -2
  27. msgraph/generated/groups/item/group_item_request_builder.py +2 -2
  28. msgraph/generated/groups/item/restore/restore_request_builder.py +2 -2
  29. msgraph/generated/groups_with_unique_name/groups_with_unique_name_request_builder.py +2 -2
  30. msgraph/generated/identity/risk_prevention/fraud_protection_providers/count/count_request_builder.py +104 -0
  31. msgraph/generated/identity/risk_prevention/fraud_protection_providers/fraud_protection_providers_request_builder.py +210 -0
  32. msgraph/generated/identity/risk_prevention/fraud_protection_providers/item/fraud_protection_provider_item_request_builder.py +191 -0
  33. msgraph/generated/identity/risk_prevention/risk_prevention_request_builder.py +13 -3
  34. msgraph/generated/identity/risk_prevention/web_application_firewall_providers/item/verify/verify_request_builder.py +3 -2
  35. msgraph/generated/identity/risk_prevention/web_application_firewall_providers/item/web_application_firewall_provider_item_request_builder.py +10 -7
  36. msgraph/generated/identity/risk_prevention/web_application_firewall_providers/web_application_firewall_providers_request_builder.py +7 -5
  37. msgraph/generated/identity/risk_prevention/web_application_firewall_verifications/item/provider/provider_request_builder.py +3 -3
  38. msgraph/generated/identity/risk_prevention/web_application_firewall_verifications/item/web_application_firewall_verification_model_item_request_builder.py +7 -5
  39. msgraph/generated/identity/risk_prevention/web_application_firewall_verifications/web_application_firewall_verifications_request_builder.py +4 -3
  40. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_activate_with_scope/activate_with_scope_post_request_body.py +57 -0
  41. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_activate_with_scope/microsoft_graph_identity_governance_activate_with_scope_request_builder.py +87 -0
  42. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/reprocessed_runs/count/count_request_builder.py +104 -0
  43. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/reprocessed_runs/item/run_item_request_builder.py +107 -0
  44. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/reprocessed_runs/reprocessed_runs_request_builder.py +162 -0
  45. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/run_item_request_builder.py +10 -0
  46. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py +104 -0
  47. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py +107 -0
  48. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py +162 -0
  49. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/subject/subject_request_builder.py +3 -3
  50. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/user_processing_result_item_request_builder.py +10 -0
  51. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py +104 -0
  52. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py +107 -0
  53. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py +162 -0
  54. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/subject/subject_request_builder.py +3 -3
  55. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/user_processing_result_item_request_builder.py +10 -0
  56. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/workflow_item_request_builder.py +10 -0
  57. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate_with_scope/activate_with_scope_post_request_body.py +57 -0
  58. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate_with_scope/microsoft_graph_identity_governance_activate_with_scope_request_builder.py +87 -0
  59. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/reprocessed_runs/count/count_request_builder.py +104 -0
  60. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/reprocessed_runs/item/run_item_request_builder.py +107 -0
  61. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/reprocessed_runs/reprocessed_runs_request_builder.py +162 -0
  62. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/run_item_request_builder.py +10 -0
  63. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py +104 -0
  64. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py +107 -0
  65. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py +162 -0
  66. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/subject/subject_request_builder.py +3 -3
  67. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/user_processing_result_item_request_builder.py +10 -0
  68. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py +104 -0
  69. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py +107 -0
  70. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py +162 -0
  71. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/subject/subject_request_builder.py +3 -3
  72. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/user_processing_result_item_request_builder.py +10 -0
  73. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/workflow_item_request_builder.py +10 -0
  74. msgraph/generated/kiota-dom-export.txt +3093 -6
  75. msgraph/generated/kiota-lock.json +1 -1
  76. msgraph/generated/models/akamai_attack_group_action_model.py +2 -2
  77. msgraph/generated/models/akamai_custom_rule_model.py +3 -3
  78. msgraph/generated/models/akamai_rapid_rules_model.py +2 -2
  79. msgraph/generated/models/akamai_verified_details_model.py +3 -3
  80. msgraph/generated/models/akamai_web_application_firewall_provider.py +4 -4
  81. msgraph/generated/models/arkose_fraud_protection_provider.py +69 -0
  82. msgraph/generated/models/assigned_place_mode.py +61 -0
  83. msgraph/generated/models/authentication_event_listener.py +11 -0
  84. msgraph/generated/models/base_map_feature.py +104 -0
  85. msgraph/generated/models/building.py +67 -0
  86. msgraph/generated/models/building_collection_response.py +58 -0
  87. msgraph/generated/models/building_map.py +71 -0
  88. msgraph/generated/models/channel.py +1 -1
  89. msgraph/generated/models/check_in_claim.py +70 -0
  90. msgraph/generated/models/check_in_claim_collection_response.py +58 -0
  91. msgraph/generated/models/check_in_method.py +9 -0
  92. msgraph/generated/models/cloud_flare_rule_model.py +3 -3
  93. msgraph/generated/models/cloud_flare_ruleset_model.py +3 -3
  94. msgraph/generated/models/cloud_flare_verified_details_model.py +3 -3
  95. msgraph/generated/models/cloud_flare_web_application_firewall_provider.py +2 -2
  96. msgraph/generated/models/communications_guest_identity.py +4 -0
  97. msgraph/generated/models/copilot_report_root.py +53 -0
  98. msgraph/generated/models/desk.py +71 -0
  99. msgraph/generated/models/desk_collection_response.py +58 -0
  100. msgraph/generated/models/drop_in_place_mode.py +53 -0
  101. msgraph/generated/models/education_assignment.py +1 -1
  102. msgraph/generated/models/education_assignment_defaults.py +1 -1
  103. msgraph/generated/models/employee_experience.py +7 -0
  104. msgraph/generated/models/employee_experience_user.py +7 -0
  105. msgraph/generated/models/engagement_role.py +67 -0
  106. msgraph/generated/models/engagement_role_collection_response.py +58 -0
  107. msgraph/generated/models/engagement_role_member.py +70 -0
  108. msgraph/generated/models/engagement_role_member_collection_response.py +58 -0
  109. msgraph/generated/models/entity.py +233 -0
  110. msgraph/generated/models/external_connectors/property_.py +1 -1
  111. msgraph/generated/models/file_storage_container.py +7 -0
  112. msgraph/generated/models/fixture_map.py +57 -0
  113. msgraph/generated/models/fixture_map_collection_response.py +58 -0
  114. msgraph/generated/models/floor.py +57 -0
  115. msgraph/generated/models/floor_collection_response.py +58 -0
  116. msgraph/generated/models/footprint_map.py +53 -0
  117. msgraph/generated/models/footprint_map_collection_response.py +58 -0
  118. msgraph/generated/models/fraud_protection_configuration.py +66 -0
  119. msgraph/generated/models/fraud_protection_provider.py +76 -0
  120. msgraph/generated/models/fraud_protection_provider_collection_response.py +58 -0
  121. msgraph/generated/models/fraud_protection_provider_configuration.py +60 -0
  122. msgraph/generated/models/human_security_fraud_protection_provider.py +61 -0
  123. msgraph/generated/models/identity_container.py +1 -1
  124. msgraph/generated/models/identity_governance/activate_group_scope.py +60 -0
  125. msgraph/generated/models/identity_governance/activate_processing_result_scope.py +67 -0
  126. msgraph/generated/models/identity_governance/activate_run_scope.py +74 -0
  127. msgraph/generated/models/identity_governance/activate_user_scope.py +60 -0
  128. msgraph/generated/models/identity_governance/activation_scope.py +87 -0
  129. msgraph/generated/models/identity_governance/activation_task_scope_type.py +7 -0
  130. msgraph/generated/models/identity_governance/activation_user_scope_type.py +7 -0
  131. msgraph/generated/models/identity_governance/run.py +11 -0
  132. msgraph/generated/models/identity_governance/user_inactivity_trigger.py +57 -0
  133. msgraph/generated/models/identity_governance/user_processing_result.py +8 -1
  134. msgraph/generated/models/identity_governance/workflow_execution_trigger.py +7 -0
  135. msgraph/generated/models/identity_governance/workflow_execution_type.py +1 -0
  136. msgraph/generated/models/level_map.py +78 -0
  137. msgraph/generated/models/level_map_collection_response.py +58 -0
  138. msgraph/generated/models/mailbox_details.py +58 -0
  139. msgraph/generated/models/on_fraud_protection_load_start_external_users_auth_handler.py +60 -0
  140. msgraph/generated/models/on_fraud_protection_load_start_handler.py +66 -0
  141. msgraph/generated/models/on_fraud_protection_load_start_listener.py +60 -0
  142. msgraph/generated/models/place.py +58 -0
  143. msgraph/generated/models/place_mode.py +80 -0
  144. msgraph/generated/models/planner_plan_container.py +1 -1
  145. msgraph/generated/models/reservable_place_mode.py +53 -0
  146. msgraph/generated/models/resource_link.py +69 -0
  147. msgraph/generated/models/resource_link_type.py +6 -0
  148. msgraph/generated/models/restore_session_base.py +1 -1
  149. msgraph/generated/models/risk_detection.py +1 -1
  150. msgraph/generated/models/risk_prevention_container.py +9 -2
  151. msgraph/generated/models/risk_service_principal_activity.py +1 -1
  152. msgraph/generated/models/risk_user_activity.py +1 -1
  153. msgraph/generated/models/risky_service_principal.py +1 -1
  154. msgraph/generated/models/risky_user.py +1 -1
  155. msgraph/generated/models/room.py +0 -12
  156. msgraph/generated/models/room_list.py +7 -0
  157. msgraph/generated/models/search_request.py +1 -1
  158. msgraph/generated/models/section.py +53 -0
  159. msgraph/generated/models/section_collection_response.py +58 -0
  160. msgraph/generated/models/section_map.py +57 -0
  161. msgraph/generated/models/section_map_collection_response.py +58 -0
  162. msgraph/generated/models/security/account.py +72 -0
  163. msgraph/generated/models/security/action.py +11 -0
  164. msgraph/generated/models/security/ai_agent_evidence.py +72 -0
  165. msgraph/generated/models/security/ai_agent_platform.py +9 -0
  166. msgraph/generated/models/security/alert_evidence.py +7 -0
  167. msgraph/generated/models/security/ediscovery_export_operation.py +1 -1
  168. msgraph/generated/models/security/identity_accounts.py +92 -0
  169. msgraph/generated/models/security/identity_accounts_collection_response.py +58 -0
  170. msgraph/generated/models/security/identity_container.py +21 -0
  171. msgraph/generated/models/security/identity_provider.py +8 -0
  172. msgraph/generated/models/security/invoke_action_result.py +76 -0
  173. msgraph/generated/models/security/sensor_candidate.py +66 -0
  174. msgraph/generated/models/security/sensor_candidate_activation_configuration.py +60 -0
  175. msgraph/generated/models/security/sensor_candidate_activation_mode.py +7 -0
  176. msgraph/generated/models/security/sensor_candidate_collection_response.py +58 -0
  177. msgraph/generated/models/security/user.py +61 -0
  178. msgraph/generated/models/service_principal_risk_detection.py +2 -2
  179. msgraph/generated/models/share_point_migration_container_info.py +62 -0
  180. msgraph/generated/models/share_point_migration_event.py +127 -0
  181. msgraph/generated/models/share_point_migration_event_collection_response.py +58 -0
  182. msgraph/generated/models/share_point_migration_finish_manifest_file_upload_event.py +57 -0
  183. msgraph/generated/models/share_point_migration_job.py +67 -0
  184. msgraph/generated/models/share_point_migration_job_cancelled_event.py +61 -0
  185. msgraph/generated/models/share_point_migration_job_collection_response.py +58 -0
  186. msgraph/generated/models/share_point_migration_job_deleted_event.py +53 -0
  187. msgraph/generated/models/share_point_migration_job_error_event.py +86 -0
  188. msgraph/generated/models/share_point_migration_job_error_level.py +9 -0
  189. msgraph/generated/models/share_point_migration_job_postponed_event.py +70 -0
  190. msgraph/generated/models/share_point_migration_job_progress_event.py +121 -0
  191. msgraph/generated/models/share_point_migration_job_queued_event.py +53 -0
  192. msgraph/generated/models/share_point_migration_job_start_event.py +61 -0
  193. msgraph/generated/models/share_point_migration_object_type.py +14 -0
  194. msgraph/generated/models/sign_in.py +1 -1
  195. msgraph/generated/models/subject_rights_request_history.py +1 -1
  196. msgraph/generated/models/subject_rights_request_stage_detail.py +1 -1
  197. msgraph/generated/models/unit_map.py +57 -0
  198. msgraph/generated/models/unit_map_collection_response.py +58 -0
  199. msgraph/generated/models/web_application_firewall_dns_configuration.py +4 -4
  200. msgraph/generated/models/web_application_firewall_provider.py +1 -1
  201. msgraph/generated/models/web_application_firewall_verification_model.py +4 -4
  202. msgraph/generated/models/web_application_firewall_verification_result.py +3 -3
  203. msgraph/generated/models/web_application_firewall_verified_details.py +1 -1
  204. msgraph/generated/models/workforce_integration.py +1 -1
  205. msgraph/generated/models/workspace.py +76 -0
  206. msgraph/generated/models/workspace_collection_response.py +58 -0
  207. msgraph/generated/organization/item/restore/restore_request_builder.py +2 -2
  208. msgraph/generated/permission_grants/item/restore/restore_request_builder.py +2 -2
  209. msgraph/generated/places/graph_building/count/count_request_builder.py +104 -0
  210. msgraph/generated/places/graph_building/graph_building_request_builder.py +147 -0
  211. msgraph/generated/places/graph_desk/count/count_request_builder.py +104 -0
  212. msgraph/generated/places/graph_desk/graph_desk_request_builder.py +147 -0
  213. msgraph/generated/places/graph_floor/count/count_request_builder.py +104 -0
  214. msgraph/generated/places/graph_floor/graph_floor_request_builder.py +147 -0
  215. msgraph/generated/places/graph_section/count/count_request_builder.py +104 -0
  216. msgraph/generated/places/graph_section/graph_section_request_builder.py +147 -0
  217. msgraph/generated/places/graph_workspace/count/count_request_builder.py +104 -0
  218. msgraph/generated/places/graph_workspace/graph_workspace_request_builder.py +147 -0
  219. msgraph/generated/places/item/check_ins/check_ins_request_builder.py +208 -0
  220. msgraph/generated/places/item/check_ins/count/count_request_builder.py +104 -0
  221. msgraph/generated/places/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
  222. msgraph/generated/places/item/descendants/descendants_get_response.py +58 -0
  223. msgraph/generated/places/item/descendants/descendants_request_builder.py +137 -0
  224. msgraph/generated/places/item/graph_building/check_ins/check_ins_request_builder.py +208 -0
  225. msgraph/generated/places/item/graph_building/check_ins/count/count_request_builder.py +104 -0
  226. msgraph/generated/places/item/graph_building/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
  227. msgraph/generated/places/item/graph_building/graph_building_request_builder.py +127 -0
  228. msgraph/generated/places/item/graph_building/map/footprints/count/count_request_builder.py +104 -0
  229. msgraph/generated/places/item/graph_building/map/footprints/footprints_request_builder.py +208 -0
  230. msgraph/generated/places/item/graph_building/map/footprints/item/footprint_map_item_request_builder.py +188 -0
  231. msgraph/generated/places/item/graph_building/map/levels/count/count_request_builder.py +104 -0
  232. msgraph/generated/places/item/graph_building/map/levels/item/fixtures/count/count_request_builder.py +104 -0
  233. msgraph/generated/places/item/graph_building/map/levels/item/fixtures/fixtures_request_builder.py +208 -0
  234. msgraph/generated/places/item/graph_building/map/levels/item/fixtures/item/fixture_map_item_request_builder.py +188 -0
  235. msgraph/generated/places/item/graph_building/map/levels/item/level_map_item_request_builder.py +218 -0
  236. msgraph/generated/places/item/graph_building/map/levels/item/sections/count/count_request_builder.py +104 -0
  237. msgraph/generated/places/item/graph_building/map/levels/item/sections/item/section_map_item_request_builder.py +188 -0
  238. msgraph/generated/places/item/graph_building/map/levels/item/sections/sections_request_builder.py +208 -0
  239. msgraph/generated/places/item/graph_building/map/levels/item/units/count/count_request_builder.py +104 -0
  240. msgraph/generated/places/item/graph_building/map/levels/item/units/item/unit_map_item_request_builder.py +188 -0
  241. msgraph/generated/places/item/graph_building/map/levels/item/units/units_request_builder.py +208 -0
  242. msgraph/generated/places/item/graph_building/map/levels/levels_request_builder.py +208 -0
  243. msgraph/generated/places/item/graph_building/map/map_request_builder.py +208 -0
  244. msgraph/generated/places/item/graph_desk/check_ins/check_ins_request_builder.py +208 -0
  245. msgraph/generated/places/item/graph_desk/check_ins/count/count_request_builder.py +104 -0
  246. msgraph/generated/places/item/graph_desk/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
  247. msgraph/generated/places/item/graph_desk/graph_desk_request_builder.py +117 -0
  248. msgraph/generated/places/item/graph_floor/check_ins/check_ins_request_builder.py +208 -0
  249. msgraph/generated/places/item/graph_floor/check_ins/count/count_request_builder.py +104 -0
  250. msgraph/generated/places/item/graph_floor/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
  251. msgraph/generated/places/item/graph_floor/graph_floor_request_builder.py +117 -0
  252. msgraph/generated/places/item/graph_room/check_ins/check_ins_request_builder.py +208 -0
  253. msgraph/generated/places/item/graph_room/check_ins/count/count_request_builder.py +104 -0
  254. msgraph/generated/places/item/graph_room/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
  255. msgraph/generated/places/item/graph_room/graph_room_request_builder.py +10 -0
  256. msgraph/generated/places/item/graph_room_list/check_ins/check_ins_request_builder.py +208 -0
  257. msgraph/generated/places/item/graph_room_list/check_ins/count/count_request_builder.py +104 -0
  258. msgraph/generated/places/item/graph_room_list/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
  259. msgraph/generated/places/item/graph_room_list/graph_room_list_request_builder.py +20 -0
  260. msgraph/generated/places/item/graph_room_list/rooms/item/check_ins/check_ins_request_builder.py +208 -0
  261. msgraph/generated/places/item/graph_room_list/rooms/item/check_ins/count/count_request_builder.py +104 -0
  262. msgraph/generated/places/item/graph_room_list/rooms/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
  263. msgraph/generated/places/item/graph_room_list/rooms/item/room_item_request_builder.py +10 -0
  264. msgraph/generated/places/item/graph_room_list/workspaces/count/count_request_builder.py +104 -0
  265. msgraph/generated/places/item/graph_room_list/workspaces/item/check_ins/check_ins_request_builder.py +208 -0
  266. msgraph/generated/places/item/graph_room_list/workspaces/item/check_ins/count/count_request_builder.py +104 -0
  267. msgraph/generated/places/item/graph_room_list/workspaces/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
  268. msgraph/generated/places/item/graph_room_list/workspaces/item/workspace_item_request_builder.py +198 -0
  269. msgraph/generated/places/item/graph_room_list/workspaces/workspaces_request_builder.py +208 -0
  270. msgraph/generated/places/item/graph_section/check_ins/check_ins_request_builder.py +208 -0
  271. msgraph/generated/places/item/graph_section/check_ins/count/count_request_builder.py +104 -0
  272. msgraph/generated/places/item/graph_section/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
  273. msgraph/generated/places/item/graph_section/graph_section_request_builder.py +117 -0
  274. msgraph/generated/places/item/graph_workspace/check_ins/check_ins_request_builder.py +208 -0
  275. msgraph/generated/places/item/graph_workspace/check_ins/count/count_request_builder.py +104 -0
  276. msgraph/generated/places/item/graph_workspace/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
  277. msgraph/generated/places/item/graph_workspace/graph_workspace_request_builder.py +117 -0
  278. msgraph/generated/places/item/place_item_request_builder.py +70 -0
  279. msgraph/generated/places/places_request_builder.py +50 -0
  280. msgraph/generated/security/identities/identities_request_builder.py +30 -0
  281. msgraph/generated/security/identities/identity_accounts/count/count_request_builder.py +104 -0
  282. msgraph/generated/security/identities/identity_accounts/identity_accounts_request_builder.py +209 -0
  283. msgraph/generated/security/identities/identity_accounts/item/identity_accounts_item_request_builder.py +199 -0
  284. msgraph/generated/security/identities/identity_accounts/item/microsoft_graph_security_invoke_action/invoke_action_post_request_body.py +68 -0
  285. msgraph/generated/security/identities/identity_accounts/item/microsoft_graph_security_invoke_action/microsoft_graph_security_invoke_action_request_builder.py +90 -0
  286. msgraph/generated/security/identities/sensor_candidate_activation_configuration/sensor_candidate_activation_configuration_request_builder.py +189 -0
  287. msgraph/generated/security/identities/sensor_candidates/count/count_request_builder.py +104 -0
  288. msgraph/generated/security/identities/sensor_candidates/item/sensor_candidate_item_request_builder.py +188 -0
  289. msgraph/generated/security/identities/sensor_candidates/microsoft_graph_security_activate/activate_post_request_body.py +50 -0
  290. msgraph/generated/security/identities/sensor_candidates/microsoft_graph_security_activate/microsoft_graph_security_activate_request_builder.py +86 -0
  291. msgraph/generated/security/identities/sensor_candidates/sensor_candidates_request_builder.py +219 -0
  292. msgraph/generated/service_principals/item/restore/restore_request_builder.py +2 -2
  293. msgraph/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/sessions_request_builder.py +3 -3
  294. msgraph/generated/storage/file_storage/containers/item/file_storage_container_item_request_builder.py +20 -0
  295. msgraph/generated/storage/file_storage/containers/item/migration_jobs/count/count_request_builder.py +104 -0
  296. msgraph/generated/storage/file_storage/containers/item/migration_jobs/item/progress_events/count/count_request_builder.py +104 -0
  297. msgraph/generated/storage/file_storage/containers/item/migration_jobs/item/progress_events/item/share_point_migration_event_item_request_builder.py +188 -0
  298. msgraph/generated/storage/file_storage/containers/item/migration_jobs/item/progress_events/progress_events_request_builder.py +208 -0
  299. msgraph/generated/storage/file_storage/containers/item/migration_jobs/item/share_point_migration_job_item_request_builder.py +198 -0
  300. msgraph/generated/storage/file_storage/containers/item/migration_jobs/migration_jobs_request_builder.py +208 -0
  301. msgraph/generated/storage/file_storage/containers/item/provision_migration_containers/provision_migration_containers_request_builder.py +81 -0
  302. msgraph/generated/storage/file_storage/deleted_containers/item/file_storage_container_item_request_builder.py +20 -0
  303. msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/count/count_request_builder.py +104 -0
  304. msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/item/progress_events/count/count_request_builder.py +104 -0
  305. msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/item/progress_events/item/share_point_migration_event_item_request_builder.py +188 -0
  306. msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/item/progress_events/progress_events_request_builder.py +208 -0
  307. msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/item/share_point_migration_job_item_request_builder.py +198 -0
  308. msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/migration_jobs_request_builder.py +208 -0
  309. msgraph/generated/storage/file_storage/deleted_containers/item/provision_migration_containers/provision_migration_containers_request_builder.py +81 -0
  310. msgraph/generated/users/item/chats/item/chat_item_request_builder.py +10 -0
  311. msgraph/generated/users/item/chats/item/remove_all_access_for_user/remove_all_access_for_user_post_request_body.py +57 -0
  312. msgraph/generated/users/item/chats/item/remove_all_access_for_user/remove_all_access_for_user_request_builder.py +87 -0
  313. msgraph/generated/users/item/employee_experience/assigned_roles/assigned_roles_request_builder.py +209 -0
  314. msgraph/generated/users/item/employee_experience/assigned_roles/count/count_request_builder.py +104 -0
  315. msgraph/generated/users/item/employee_experience/assigned_roles/item/engagement_role_item_request_builder.py +198 -0
  316. msgraph/generated/users/item/employee_experience/assigned_roles/item/members/count/count_request_builder.py +104 -0
  317. msgraph/generated/users/item/employee_experience/assigned_roles/item/members/item/engagement_role_member_item_request_builder.py +198 -0
  318. msgraph/generated/users/item/employee_experience/assigned_roles/item/members/item/user/mailbox_settings/mailbox_settings_request_builder.py +152 -0
  319. msgraph/generated/users/item/employee_experience/assigned_roles/item/members/item/user/service_provisioning_errors/count/count_request_builder.py +104 -0
  320. msgraph/generated/users/item/employee_experience/assigned_roles/item/members/item/user/service_provisioning_errors/service_provisioning_errors_request_builder.py +147 -0
  321. msgraph/generated/users/item/employee_experience/assigned_roles/item/members/item/user/user_request_builder.py +127 -0
  322. msgraph/generated/users/item/employee_experience/assigned_roles/item/members/members_request_builder.py +208 -0
  323. msgraph/generated/users/item/employee_experience/employee_experience_request_builder.py +10 -0
  324. msgraph/generated/users/item/restore/restore_request_builder.py +2 -2
  325. {msgraph_sdk-1.48.0.dist-info → msgraph_sdk-1.50.0.dist-info}/METADATA +1 -1
  326. {msgraph_sdk-1.48.0.dist-info → msgraph_sdk-1.50.0.dist-info}/RECORD +328 -106
  327. {msgraph_sdk-1.48.0.dist-info → msgraph_sdk-1.50.0.dist-info}/WHEEL +0 -0
  328. {msgraph_sdk-1.48.0.dist-info → msgraph_sdk-1.50.0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,86 @@
1
+ from __future__ import annotations
2
+ from collections.abc import Callable
3
+ from dataclasses import dataclass, field
4
+ from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
5
+ from typing import Any, Optional, TYPE_CHECKING, Union
6
+
7
+ if TYPE_CHECKING:
8
+ from .public_error import PublicError
9
+ from .share_point_migration_event import SharePointMigrationEvent
10
+ from .share_point_migration_job_error_level import SharePointMigrationJobErrorLevel
11
+ from .share_point_migration_object_type import SharePointMigrationObjectType
12
+
13
+ from .share_point_migration_event import SharePointMigrationEvent
14
+
15
+ @dataclass
16
+ class SharePointMigrationJobErrorEvent(SharePointMigrationEvent, Parsable):
17
+ # The error property
18
+ error: Optional[PublicError] = None
19
+ # The errorLevel property
20
+ error_level: Optional[SharePointMigrationJobErrorLevel] = None
21
+ # The object ID. Read-only.
22
+ object_id: Optional[str] = None
23
+ # The objectType property
24
+ object_type: Optional[SharePointMigrationObjectType] = None
25
+ # The object URL. Read-only.
26
+ object_url: Optional[str] = None
27
+ # The OdataType property
28
+ odata_type: Optional[str] = None
29
+ # The current retry count of the job. Read-only.
30
+ total_retry_count: Optional[int] = None
31
+
32
+ @staticmethod
33
+ def create_from_discriminator_value(parse_node: ParseNode) -> SharePointMigrationJobErrorEvent:
34
+ """
35
+ Creates a new instance of the appropriate class based on discriminator value
36
+ param parse_node: The parse node to use to read the discriminator value and create the object
37
+ Returns: SharePointMigrationJobErrorEvent
38
+ """
39
+ if parse_node is None:
40
+ raise TypeError("parse_node cannot be null.")
41
+ return SharePointMigrationJobErrorEvent()
42
+
43
+ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
44
+ """
45
+ The deserialization information for the current model
46
+ Returns: dict[str, Callable[[ParseNode], None]]
47
+ """
48
+ from .public_error import PublicError
49
+ from .share_point_migration_event import SharePointMigrationEvent
50
+ from .share_point_migration_job_error_level import SharePointMigrationJobErrorLevel
51
+ from .share_point_migration_object_type import SharePointMigrationObjectType
52
+
53
+ from .public_error import PublicError
54
+ from .share_point_migration_event import SharePointMigrationEvent
55
+ from .share_point_migration_job_error_level import SharePointMigrationJobErrorLevel
56
+ from .share_point_migration_object_type import SharePointMigrationObjectType
57
+
58
+ fields: dict[str, Callable[[Any], None]] = {
59
+ "error": lambda n : setattr(self, 'error', n.get_object_value(PublicError)),
60
+ "errorLevel": lambda n : setattr(self, 'error_level', n.get_enum_value(SharePointMigrationJobErrorLevel)),
61
+ "objectId": lambda n : setattr(self, 'object_id', n.get_str_value()),
62
+ "objectType": lambda n : setattr(self, 'object_type', n.get_enum_value(SharePointMigrationObjectType)),
63
+ "objectUrl": lambda n : setattr(self, 'object_url', n.get_str_value()),
64
+ "totalRetryCount": lambda n : setattr(self, 'total_retry_count', n.get_int_value()),
65
+ }
66
+ super_fields = super().get_field_deserializers()
67
+ fields.update(super_fields)
68
+ return fields
69
+
70
+ def serialize(self,writer: SerializationWriter) -> None:
71
+ """
72
+ Serializes information the current object
73
+ param writer: Serialization writer to use to serialize this model
74
+ Returns: None
75
+ """
76
+ if writer is None:
77
+ raise TypeError("writer cannot be null.")
78
+ super().serialize(writer)
79
+ writer.write_object_value("error", self.error)
80
+ writer.write_enum_value("errorLevel", self.error_level)
81
+ writer.write_str_value("objectId", self.object_id)
82
+ writer.write_enum_value("objectType", self.object_type)
83
+ writer.write_str_value("objectUrl", self.object_url)
84
+ writer.write_int_value("totalRetryCount", self.total_retry_count)
85
+
86
+
@@ -0,0 +1,9 @@
1
+ from enum import Enum
2
+
3
+ class SharePointMigrationJobErrorLevel(str, Enum):
4
+ Important = "important",
5
+ Warning = "warning",
6
+ Error = "error",
7
+ FatalError = "fatalError",
8
+ UnknownFutureValue = "unknownFutureValue",
9
+
@@ -0,0 +1,70 @@
1
+ from __future__ import annotations
2
+ import datetime
3
+ from collections.abc import Callable
4
+ from dataclasses import dataclass, field
5
+ from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
6
+ from typing import Any, Optional, TYPE_CHECKING, Union
7
+
8
+ if TYPE_CHECKING:
9
+ from .share_point_migration_event import SharePointMigrationEvent
10
+
11
+ from .share_point_migration_event import SharePointMigrationEvent
12
+
13
+ @dataclass
14
+ class SharePointMigrationJobPostponedEvent(SharePointMigrationEvent, Parsable):
15
+ # The number of migration jobs in the queue of the current database. Read-only.
16
+ jobs_in_queue: Optional[int] = None
17
+ # The date and time that indicate when this job is picked up next. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
18
+ next_pickup_date_time: Optional[datetime.datetime] = None
19
+ # The OdataType property
20
+ odata_type: Optional[str] = None
21
+ # The reason for the postponement. Read-only.
22
+ reason: Optional[str] = None
23
+ # The current retry count of the job. Read-only.
24
+ total_retry_count: Optional[int] = None
25
+
26
+ @staticmethod
27
+ def create_from_discriminator_value(parse_node: ParseNode) -> SharePointMigrationJobPostponedEvent:
28
+ """
29
+ Creates a new instance of the appropriate class based on discriminator value
30
+ param parse_node: The parse node to use to read the discriminator value and create the object
31
+ Returns: SharePointMigrationJobPostponedEvent
32
+ """
33
+ if parse_node is None:
34
+ raise TypeError("parse_node cannot be null.")
35
+ return SharePointMigrationJobPostponedEvent()
36
+
37
+ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
38
+ """
39
+ The deserialization information for the current model
40
+ Returns: dict[str, Callable[[ParseNode], None]]
41
+ """
42
+ from .share_point_migration_event import SharePointMigrationEvent
43
+
44
+ from .share_point_migration_event import SharePointMigrationEvent
45
+
46
+ fields: dict[str, Callable[[Any], None]] = {
47
+ "jobsInQueue": lambda n : setattr(self, 'jobs_in_queue', n.get_int_value()),
48
+ "nextPickupDateTime": lambda n : setattr(self, 'next_pickup_date_time', n.get_datetime_value()),
49
+ "reason": lambda n : setattr(self, 'reason', n.get_str_value()),
50
+ "totalRetryCount": lambda n : setattr(self, 'total_retry_count', n.get_int_value()),
51
+ }
52
+ super_fields = super().get_field_deserializers()
53
+ fields.update(super_fields)
54
+ return fields
55
+
56
+ def serialize(self,writer: SerializationWriter) -> None:
57
+ """
58
+ Serializes information the current object
59
+ param writer: Serialization writer to use to serialize this model
60
+ Returns: None
61
+ """
62
+ if writer is None:
63
+ raise TypeError("writer cannot be null.")
64
+ super().serialize(writer)
65
+ writer.write_int_value("jobsInQueue", self.jobs_in_queue)
66
+ writer.write_datetime_value("nextPickupDateTime", self.next_pickup_date_time)
67
+ writer.write_str_value("reason", self.reason)
68
+ writer.write_int_value("totalRetryCount", self.total_retry_count)
69
+
70
+
@@ -0,0 +1,121 @@
1
+ from __future__ import annotations
2
+ from collections.abc import Callable
3
+ from dataclasses import dataclass, field
4
+ from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
5
+ from typing import Any, Optional, TYPE_CHECKING, Union
6
+
7
+ if TYPE_CHECKING:
8
+ from .share_point_migration_event import SharePointMigrationEvent
9
+
10
+ from .share_point_migration_event import SharePointMigrationEvent
11
+
12
+ @dataclass
13
+ class SharePointMigrationJobProgressEvent(SharePointMigrationEvent, Parsable):
14
+ # The number of bytes processed. Read-only.
15
+ bytes_processed: Optional[int] = None
16
+ # The number of bytes processed with version history excluded. Read-only.
17
+ bytes_processed_only_current_version: Optional[int] = None
18
+ # CPU duration in milliseconds. Read-only.
19
+ cpu_duration_ms: Optional[int] = None
20
+ # The number of files processed. Read-only.
21
+ files_processed: Optional[int] = None
22
+ # The number of files processed with version history excluded. Read-only.
23
+ files_processed_only_current_version: Optional[int] = None
24
+ # True if the job status is End. False if the job is In progress. Read-only.
25
+ is_completed: Optional[bool] = None
26
+ # The unique identifier of the last object processed. Read-only.
27
+ last_processed_object_id: Optional[str] = None
28
+ # The number of objects processed. Read-only.
29
+ objects_processed: Optional[int] = None
30
+ # The OdataType property
31
+ odata_type: Optional[str] = None
32
+ # SQL duration in milliseconds. Read-only.
33
+ sql_duration_ms: Optional[int] = None
34
+ # SQL query count. Read-only.
35
+ sql_query_count: Optional[int] = None
36
+ # Total duration time in milliseconds. Read-only.
37
+ total_duration_ms: Optional[int] = None
38
+ # Total errors. Read-only.
39
+ total_errors: Optional[int] = None
40
+ # Total bytes to be processed. Read-only.
41
+ total_expected_bytes: Optional[int] = None
42
+ # The number of objects to process. Read-only.
43
+ total_expected_objects: Optional[int] = None
44
+ # The current retry count of the job. Read-only.
45
+ total_retry_count: Optional[int] = None
46
+ # Total warnings. Read-only.
47
+ total_warnings: Optional[int] = None
48
+ # Waiting time due to SQL throttling, in milliseconds. Read-only.
49
+ wait_time_on_sql_throttling_ms: Optional[int] = None
50
+
51
+ @staticmethod
52
+ def create_from_discriminator_value(parse_node: ParseNode) -> SharePointMigrationJobProgressEvent:
53
+ """
54
+ Creates a new instance of the appropriate class based on discriminator value
55
+ param parse_node: The parse node to use to read the discriminator value and create the object
56
+ Returns: SharePointMigrationJobProgressEvent
57
+ """
58
+ if parse_node is None:
59
+ raise TypeError("parse_node cannot be null.")
60
+ return SharePointMigrationJobProgressEvent()
61
+
62
+ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
63
+ """
64
+ The deserialization information for the current model
65
+ Returns: dict[str, Callable[[ParseNode], None]]
66
+ """
67
+ from .share_point_migration_event import SharePointMigrationEvent
68
+
69
+ from .share_point_migration_event import SharePointMigrationEvent
70
+
71
+ fields: dict[str, Callable[[Any], None]] = {
72
+ "bytesProcessed": lambda n : setattr(self, 'bytes_processed', n.get_int_value()),
73
+ "bytesProcessedOnlyCurrentVersion": lambda n : setattr(self, 'bytes_processed_only_current_version', n.get_int_value()),
74
+ "cpuDurationMs": lambda n : setattr(self, 'cpu_duration_ms', n.get_int_value()),
75
+ "filesProcessed": lambda n : setattr(self, 'files_processed', n.get_int_value()),
76
+ "filesProcessedOnlyCurrentVersion": lambda n : setattr(self, 'files_processed_only_current_version', n.get_int_value()),
77
+ "isCompleted": lambda n : setattr(self, 'is_completed', n.get_bool_value()),
78
+ "lastProcessedObjectId": lambda n : setattr(self, 'last_processed_object_id', n.get_str_value()),
79
+ "objectsProcessed": lambda n : setattr(self, 'objects_processed', n.get_int_value()),
80
+ "sqlDurationMs": lambda n : setattr(self, 'sql_duration_ms', n.get_int_value()),
81
+ "sqlQueryCount": lambda n : setattr(self, 'sql_query_count', n.get_int_value()),
82
+ "totalDurationMs": lambda n : setattr(self, 'total_duration_ms', n.get_int_value()),
83
+ "totalErrors": lambda n : setattr(self, 'total_errors', n.get_int_value()),
84
+ "totalExpectedBytes": lambda n : setattr(self, 'total_expected_bytes', n.get_int_value()),
85
+ "totalExpectedObjects": lambda n : setattr(self, 'total_expected_objects', n.get_int_value()),
86
+ "totalRetryCount": lambda n : setattr(self, 'total_retry_count', n.get_int_value()),
87
+ "totalWarnings": lambda n : setattr(self, 'total_warnings', n.get_int_value()),
88
+ "waitTimeOnSqlThrottlingMs": lambda n : setattr(self, 'wait_time_on_sql_throttling_ms', n.get_int_value()),
89
+ }
90
+ super_fields = super().get_field_deserializers()
91
+ fields.update(super_fields)
92
+ return fields
93
+
94
+ def serialize(self,writer: SerializationWriter) -> None:
95
+ """
96
+ Serializes information the current object
97
+ param writer: Serialization writer to use to serialize this model
98
+ Returns: None
99
+ """
100
+ if writer is None:
101
+ raise TypeError("writer cannot be null.")
102
+ super().serialize(writer)
103
+ writer.write_int_value("bytesProcessed", self.bytes_processed)
104
+ writer.write_int_value("bytesProcessedOnlyCurrentVersion", self.bytes_processed_only_current_version)
105
+ writer.write_int_value("cpuDurationMs", self.cpu_duration_ms)
106
+ writer.write_int_value("filesProcessed", self.files_processed)
107
+ writer.write_int_value("filesProcessedOnlyCurrentVersion", self.files_processed_only_current_version)
108
+ writer.write_bool_value("isCompleted", self.is_completed)
109
+ writer.write_str_value("lastProcessedObjectId", self.last_processed_object_id)
110
+ writer.write_int_value("objectsProcessed", self.objects_processed)
111
+ writer.write_int_value("sqlDurationMs", self.sql_duration_ms)
112
+ writer.write_int_value("sqlQueryCount", self.sql_query_count)
113
+ writer.write_int_value("totalDurationMs", self.total_duration_ms)
114
+ writer.write_int_value("totalErrors", self.total_errors)
115
+ writer.write_int_value("totalExpectedBytes", self.total_expected_bytes)
116
+ writer.write_int_value("totalExpectedObjects", self.total_expected_objects)
117
+ writer.write_int_value("totalRetryCount", self.total_retry_count)
118
+ writer.write_int_value("totalWarnings", self.total_warnings)
119
+ writer.write_int_value("waitTimeOnSqlThrottlingMs", self.wait_time_on_sql_throttling_ms)
120
+
121
+
@@ -0,0 +1,53 @@
1
+ from __future__ import annotations
2
+ from collections.abc import Callable
3
+ from dataclasses import dataclass, field
4
+ from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
5
+ from typing import Any, Optional, TYPE_CHECKING, Union
6
+
7
+ if TYPE_CHECKING:
8
+ from .share_point_migration_event import SharePointMigrationEvent
9
+
10
+ from .share_point_migration_event import SharePointMigrationEvent
11
+
12
+ @dataclass
13
+ class SharePointMigrationJobQueuedEvent(SharePointMigrationEvent, Parsable):
14
+ # The OdataType property
15
+ odata_type: Optional[str] = None
16
+
17
+ @staticmethod
18
+ def create_from_discriminator_value(parse_node: ParseNode) -> SharePointMigrationJobQueuedEvent:
19
+ """
20
+ Creates a new instance of the appropriate class based on discriminator value
21
+ param parse_node: The parse node to use to read the discriminator value and create the object
22
+ Returns: SharePointMigrationJobQueuedEvent
23
+ """
24
+ if parse_node is None:
25
+ raise TypeError("parse_node cannot be null.")
26
+ return SharePointMigrationJobQueuedEvent()
27
+
28
+ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
29
+ """
30
+ The deserialization information for the current model
31
+ Returns: dict[str, Callable[[ParseNode], None]]
32
+ """
33
+ from .share_point_migration_event import SharePointMigrationEvent
34
+
35
+ from .share_point_migration_event import SharePointMigrationEvent
36
+
37
+ fields: dict[str, Callable[[Any], None]] = {
38
+ }
39
+ super_fields = super().get_field_deserializers()
40
+ fields.update(super_fields)
41
+ return fields
42
+
43
+ def serialize(self,writer: SerializationWriter) -> None:
44
+ """
45
+ Serializes information the current object
46
+ param writer: Serialization writer to use to serialize this model
47
+ Returns: None
48
+ """
49
+ if writer is None:
50
+ raise TypeError("writer cannot be null.")
51
+ super().serialize(writer)
52
+
53
+
@@ -0,0 +1,61 @@
1
+ from __future__ import annotations
2
+ from collections.abc import Callable
3
+ from dataclasses import dataclass, field
4
+ from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
5
+ from typing import Any, Optional, TYPE_CHECKING, Union
6
+
7
+ if TYPE_CHECKING:
8
+ from .share_point_migration_event import SharePointMigrationEvent
9
+
10
+ from .share_point_migration_event import SharePointMigrationEvent
11
+
12
+ @dataclass
13
+ class SharePointMigrationJobStartEvent(SharePointMigrationEvent, Parsable):
14
+ # True if the job is restarted. False if it's the initial start. Read-only.
15
+ is_restarted: Optional[bool] = None
16
+ # The OdataType property
17
+ odata_type: Optional[str] = None
18
+ # The current retry count of the job. Read-only.
19
+ total_retry_count: Optional[int] = None
20
+
21
+ @staticmethod
22
+ def create_from_discriminator_value(parse_node: ParseNode) -> SharePointMigrationJobStartEvent:
23
+ """
24
+ Creates a new instance of the appropriate class based on discriminator value
25
+ param parse_node: The parse node to use to read the discriminator value and create the object
26
+ Returns: SharePointMigrationJobStartEvent
27
+ """
28
+ if parse_node is None:
29
+ raise TypeError("parse_node cannot be null.")
30
+ return SharePointMigrationJobStartEvent()
31
+
32
+ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
33
+ """
34
+ The deserialization information for the current model
35
+ Returns: dict[str, Callable[[ParseNode], None]]
36
+ """
37
+ from .share_point_migration_event import SharePointMigrationEvent
38
+
39
+ from .share_point_migration_event import SharePointMigrationEvent
40
+
41
+ fields: dict[str, Callable[[Any], None]] = {
42
+ "isRestarted": lambda n : setattr(self, 'is_restarted', n.get_bool_value()),
43
+ "totalRetryCount": lambda n : setattr(self, 'total_retry_count', n.get_int_value()),
44
+ }
45
+ super_fields = super().get_field_deserializers()
46
+ fields.update(super_fields)
47
+ return fields
48
+
49
+ def serialize(self,writer: SerializationWriter) -> None:
50
+ """
51
+ Serializes information the current object
52
+ param writer: Serialization writer to use to serialize this model
53
+ Returns: None
54
+ """
55
+ if writer is None:
56
+ raise TypeError("writer cannot be null.")
57
+ super().serialize(writer)
58
+ writer.write_bool_value("isRestarted", self.is_restarted)
59
+ writer.write_int_value("totalRetryCount", self.total_retry_count)
60
+
61
+
@@ -0,0 +1,14 @@
1
+ from enum import Enum
2
+
3
+ class SharePointMigrationObjectType(str, Enum):
4
+ Site = "site",
5
+ Web = "web",
6
+ Folder = "folder",
7
+ List_ = "list",
8
+ ListItem = "listItem",
9
+ File = "file",
10
+ Alert = "alert",
11
+ SharedWithObject = "sharedWithObject",
12
+ Invalid = "invalid",
13
+ UnknownFutureValue = "unknownFutureValue",
14
+
@@ -49,7 +49,7 @@ class SignIn(Entity, Parsable):
49
49
  resource_display_name: Optional[str] = None
50
50
  # ID of the resource that the user signed into. Supports $filter (eq).
51
51
  resource_id: Optional[str] = None
52
- # The reason behind a specific state of a risky user, sign-in, or a risk event. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. Use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe.The value none means that Microsoft Entra risk detection did not flag the user or the sign-in as a risky event so far. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden.
52
+ # The reason behind a specific state of a risky user, sign-in, or a risk event. The value none means that Microsoft Entra risk detection did not flag the user or the sign-in as a risky event so far. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden.
53
53
  risk_detail: Optional[RiskDetail] = None
54
54
  # The riskEventTypes property
55
55
  risk_event_types: Optional[list[RiskEventType]] = None
@@ -24,7 +24,7 @@ class SubjectRightsRequestHistory(AdditionalDataHolder, BackedModel, Parsable):
24
24
  event_date_time: Optional[datetime.datetime] = None
25
25
  # The OdataType property
26
26
  odata_type: Optional[str] = None
27
- # The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: approval.
27
+ # The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: approval.
28
28
  stage: Optional[SubjectRightsRequestStage] = None
29
29
  # The status of the stage when the entity was changed. Possible values are: notStarted, current, completed, failed, unknownFutureValue.
30
30
  stage_status: Optional[SubjectRightsRequestStageStatus] = None
@@ -21,7 +21,7 @@ class SubjectRightsRequestStageDetail(AdditionalDataHolder, BackedModel, Parsabl
21
21
  error: Optional[PublicError] = None
22
22
  # The OdataType property
23
23
  odata_type: Optional[str] = None
24
- # The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: approval.
24
+ # The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: approval.
25
25
  stage: Optional[SubjectRightsRequestStage] = None
26
26
  # Status of the current stage. Possible values are: notStarted, current, completed, failed, unknownFutureValue.
27
27
  status: Optional[SubjectRightsRequestStageStatus] = None
@@ -0,0 +1,57 @@
1
+ from __future__ import annotations
2
+ from collections.abc import Callable
3
+ from dataclasses import dataclass, field
4
+ from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
5
+ from typing import Any, Optional, TYPE_CHECKING, Union
6
+
7
+ if TYPE_CHECKING:
8
+ from .base_map_feature import BaseMapFeature
9
+
10
+ from .base_map_feature import BaseMapFeature
11
+
12
+ @dataclass
13
+ class UnitMap(BaseMapFeature, Parsable):
14
+ # The OdataType property
15
+ odata_type: Optional[str] = "#microsoft.graph.unitMap"
16
+ # The placeId property
17
+ place_id: Optional[str] = None
18
+
19
+ @staticmethod
20
+ def create_from_discriminator_value(parse_node: ParseNode) -> UnitMap:
21
+ """
22
+ Creates a new instance of the appropriate class based on discriminator value
23
+ param parse_node: The parse node to use to read the discriminator value and create the object
24
+ Returns: UnitMap
25
+ """
26
+ if parse_node is None:
27
+ raise TypeError("parse_node cannot be null.")
28
+ return UnitMap()
29
+
30
+ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
31
+ """
32
+ The deserialization information for the current model
33
+ Returns: dict[str, Callable[[ParseNode], None]]
34
+ """
35
+ from .base_map_feature import BaseMapFeature
36
+
37
+ from .base_map_feature import BaseMapFeature
38
+
39
+ fields: dict[str, Callable[[Any], None]] = {
40
+ "placeId": lambda n : setattr(self, 'place_id', n.get_str_value()),
41
+ }
42
+ super_fields = super().get_field_deserializers()
43
+ fields.update(super_fields)
44
+ return fields
45
+
46
+ def serialize(self,writer: SerializationWriter) -> None:
47
+ """
48
+ Serializes information the current object
49
+ param writer: Serialization writer to use to serialize this model
50
+ Returns: None
51
+ """
52
+ if writer is None:
53
+ raise TypeError("writer cannot be null.")
54
+ super().serialize(writer)
55
+ writer.write_str_value("placeId", self.place_id)
56
+
57
+
@@ -0,0 +1,58 @@
1
+ from __future__ import annotations
2
+ from collections.abc import Callable
3
+ from dataclasses import dataclass, field
4
+ from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
5
+ from typing import Any, Optional, TYPE_CHECKING, Union
6
+
7
+ if TYPE_CHECKING:
8
+ from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
9
+ from .unit_map import UnitMap
10
+
11
+ from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
12
+
13
+ @dataclass
14
+ class UnitMapCollectionResponse(BaseCollectionPaginationCountResponse, Parsable):
15
+ # The value property
16
+ value: Optional[list[UnitMap]] = None
17
+
18
+ @staticmethod
19
+ def create_from_discriminator_value(parse_node: ParseNode) -> UnitMapCollectionResponse:
20
+ """
21
+ Creates a new instance of the appropriate class based on discriminator value
22
+ param parse_node: The parse node to use to read the discriminator value and create the object
23
+ Returns: UnitMapCollectionResponse
24
+ """
25
+ if parse_node is None:
26
+ raise TypeError("parse_node cannot be null.")
27
+ return UnitMapCollectionResponse()
28
+
29
+ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
30
+ """
31
+ The deserialization information for the current model
32
+ Returns: dict[str, Callable[[ParseNode], None]]
33
+ """
34
+ from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
35
+ from .unit_map import UnitMap
36
+
37
+ from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
38
+ from .unit_map import UnitMap
39
+
40
+ fields: dict[str, Callable[[Any], None]] = {
41
+ "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(UnitMap)),
42
+ }
43
+ super_fields = super().get_field_deserializers()
44
+ fields.update(super_fields)
45
+ return fields
46
+
47
+ def serialize(self,writer: SerializationWriter) -> None:
48
+ """
49
+ Serializes information the current object
50
+ param writer: Serialization writer to use to serialize this model
51
+ Returns: None
52
+ """
53
+ if writer is None:
54
+ raise TypeError("writer cannot be null.")
55
+ super().serialize(writer)
56
+ writer.write_collection_of_object_values("value", self.value)
57
+
58
+
@@ -15,17 +15,17 @@ class WebApplicationFirewallDnsConfiguration(AdditionalDataHolder, BackedModel,
15
15
 
16
16
  # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
17
17
  additional_data: dict[str, Any] = field(default_factory=dict)
18
- # The isDomainVerified property
18
+ # Indicates whether the domain owning this DNS record has been verified by the WAF provider.
19
19
  is_domain_verified: Optional[bool] = None
20
- # The isProxied property
20
+ # Indicates whether traffic for this DNS record is proxied through the WAF provider's network (for example, using a CDN or reverse proxy).
21
21
  is_proxied: Optional[bool] = None
22
- # The name property
22
+ # The DNS record name (for example, www.contoso.com or contoso.com). This is the host or zone name to which the configuration applies.
23
23
  name: Optional[str] = None
24
24
  # The OdataType property
25
25
  odata_type: Optional[str] = None
26
26
  # The recordType property
27
27
  record_type: Optional[WebApplicationFirewallDnsRecordType] = None
28
- # The value property
28
+ # The value of the DNS record.
29
29
  value: Optional[str] = None
30
30
 
31
31
  @staticmethod
@@ -13,7 +13,7 @@ from .entity import Entity
13
13
 
14
14
  @dataclass
15
15
  class WebApplicationFirewallProvider(Entity, Parsable):
16
- # The displayName property
16
+ # The display name of the WAF provider.
17
17
  display_name: Optional[str] = None
18
18
  # The OdataType property
19
19
  odata_type: Optional[str] = None
@@ -17,15 +17,15 @@ from .entity import Entity
17
17
  class WebApplicationFirewallVerificationModel(Entity, Parsable):
18
18
  # The OdataType property
19
19
  odata_type: Optional[str] = None
20
- # The provider property
20
+ # Reference to a provider resource associated with this verification model. Represents a WAF provider that can be used to verify or manage the host.
21
21
  provider: Optional[WebApplicationFirewallProvider] = None
22
22
  # The providerType property
23
23
  provider_type: Optional[WebApplicationFirewallProviderType] = None
24
- # The verificationResult property
24
+ # An object describing the outcome of the verification operation, including status, errors or warnings
25
25
  verification_result: Optional[WebApplicationFirewallVerificationResult] = None
26
- # The verifiedDetails property
26
+ # Details of DNS configuration
27
27
  verified_details: Optional[WebApplicationFirewallVerifiedDetails] = None
28
- # The verifiedHost property
28
+ # The host (domain or subdomain) that was verified as part of this verification operation.
29
29
  verified_host: Optional[str] = None
30
30
 
31
31
  @staticmethod
@@ -17,15 +17,15 @@ class WebApplicationFirewallVerificationResult(AdditionalDataHolder, BackedModel
17
17
 
18
18
  # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
19
19
  additional_data: dict[str, Any] = field(default_factory=dict)
20
- # The errors property
20
+ # List of errors encountered during the verification process.
21
21
  errors: Optional[list[GenericError]] = None
22
22
  # The OdataType property
23
23
  odata_type: Optional[str] = None
24
24
  # The status property
25
25
  status: Optional[WebApplicationFirewallVerificationStatus] = None
26
- # The verifiedOnDateTime property
26
+ # UTC timestamp when the verification was performed or last updated. This indicates when the verification result was produced.
27
27
  verified_on_date_time: Optional[datetime.datetime] = None
28
- # The warnings property
28
+ # List of warnings produced during verification.
29
29
  warnings: Optional[list[GenericError]] = None
30
30
 
31
31
  @staticmethod
@@ -17,7 +17,7 @@ class WebApplicationFirewallVerifiedDetails(AdditionalDataHolder, BackedModel, P
17
17
 
18
18
  # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
19
19
  additional_data: dict[str, Any] = field(default_factory=dict)
20
- # The dnsConfiguration property
20
+ # DNS-related details discovered during verification for the host, such as the DNS record name, record type, record value, whether the record is proxied through the provider, and whether the domain is verified.
21
21
  dns_configuration: Optional[WebApplicationFirewallDnsConfiguration] = None
22
22
  # The OdataType property
23
23
  odata_type: Optional[str] = None