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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (445) hide show
  1. msgraph/_version.py +1 -1
  2. msgraph/generated/admin/admin_request_builder.py +10 -0
  3. msgraph/generated/admin/teams/teams_request_builder.py +198 -0
  4. msgraph/generated/admin/teams/user_configurations/count/count_request_builder.py +104 -0
  5. msgraph/generated/admin/teams/user_configurations/item/teams_user_configuration_item_request_builder.py +199 -0
  6. msgraph/generated/admin/teams/user_configurations/item/user/mailbox_settings/mailbox_settings_request_builder.py +152 -0
  7. msgraph/generated/admin/teams/user_configurations/item/user/service_provisioning_errors/count/count_request_builder.py +104 -0
  8. msgraph/generated/admin/teams/user_configurations/item/user/service_provisioning_errors/service_provisioning_errors_request_builder.py +147 -0
  9. msgraph/generated/admin/teams/user_configurations/item/user/user_request_builder.py +127 -0
  10. msgraph/generated/admin/teams/user_configurations/user_configurations_request_builder.py +209 -0
  11. msgraph/generated/applications/item/federated_identity_credentials/federated_identity_credentials_request_builder.py +5 -5
  12. msgraph/generated/applications/item/federated_identity_credentials/item/federated_identity_credential_item_request_builder.py +3 -3
  13. msgraph/generated/applications/item/federated_identity_credentials_with_name/federated_identity_credentials_with_name_request_builder.py +3 -3
  14. msgraph/generated/communications/adhoc_calls/adhoc_calls_request_builder.py +208 -0
  15. msgraph/generated/communications/adhoc_calls/count/count_request_builder.py +104 -0
  16. msgraph/generated/communications/adhoc_calls/item/adhoc_call_item_request_builder.py +208 -0
  17. msgraph/generated/communications/adhoc_calls/item/recordings/count/count_request_builder.py +104 -0
  18. msgraph/generated/communications/adhoc_calls/item/recordings/delta/delta_get_response.py +58 -0
  19. msgraph/generated/communications/adhoc_calls/item/recordings/delta/delta_request_builder.py +137 -0
  20. msgraph/generated/communications/adhoc_calls/item/recordings/item/call_recording_item_request_builder.py +198 -0
  21. msgraph/generated/communications/adhoc_calls/item/recordings/item/content/content_request_builder.py +160 -0
  22. msgraph/generated/communications/adhoc_calls/item/recordings/recordings_request_builder.py +218 -0
  23. msgraph/generated/communications/adhoc_calls/item/transcripts/count/count_request_builder.py +104 -0
  24. msgraph/generated/communications/adhoc_calls/item/transcripts/delta/delta_get_response.py +58 -0
  25. msgraph/generated/communications/adhoc_calls/item/transcripts/delta/delta_request_builder.py +137 -0
  26. msgraph/generated/communications/adhoc_calls/item/transcripts/item/call_transcript_item_request_builder.py +208 -0
  27. msgraph/generated/communications/adhoc_calls/item/transcripts/item/content/content_request_builder.py +160 -0
  28. msgraph/generated/communications/adhoc_calls/item/transcripts/item/metadata_content/metadata_content_request_builder.py +157 -0
  29. msgraph/generated/communications/adhoc_calls/item/transcripts/transcripts_request_builder.py +218 -0
  30. msgraph/generated/communications/communications_request_builder.py +10 -0
  31. msgraph/generated/communications/presences/item/clear_automatic_location/clear_automatic_location_request_builder.py +79 -0
  32. msgraph/generated/communications/presences/item/clear_location/clear_location_request_builder.py +79 -0
  33. msgraph/generated/communications/presences/item/presence_item_request_builder.py +40 -0
  34. msgraph/generated/communications/presences/item/set_automatic_location/set_automatic_location_post_request_body.py +61 -0
  35. msgraph/generated/communications/presences/item/set_automatic_location/set_automatic_location_request_builder.py +87 -0
  36. msgraph/generated/communications/presences/item/set_manual_location/set_manual_location_post_request_body.py +61 -0
  37. msgraph/generated/communications/presences/item/set_manual_location/set_manual_location_request_builder.py +87 -0
  38. msgraph/generated/device_management/virtual_endpoint/cloud_p_cs/item/cloud_p_c_item_request_builder.py +20 -0
  39. msgraph/generated/device_management/virtual_endpoint/cloud_p_cs/item/reprovision/reprovision_post_request_body.py +64 -0
  40. msgraph/generated/device_management/virtual_endpoint/cloud_p_cs/item/reprovision/reprovision_request_builder.py +87 -0
  41. msgraph/generated/device_management/virtual_endpoint/cloud_p_cs/item/retrieve_cloud_pc_launch_detail/retrieve_cloud_pc_launch_detail_request_builder.py +82 -0
  42. msgraph/generated/device_management/virtual_endpoint/report/report_request_builder.py +198 -0
  43. msgraph/generated/device_management/virtual_endpoint/report/retrieve_cloud_pc_recommendation_reports/retrieve_cloud_pc_recommendation_reports_post_request_body.py +85 -0
  44. msgraph/generated/device_management/virtual_endpoint/report/retrieve_cloud_pc_recommendation_reports/retrieve_cloud_pc_recommendation_reports_request_builder.py +87 -0
  45. msgraph/generated/device_management/virtual_endpoint/virtual_endpoint_request_builder.py +10 -0
  46. msgraph/generated/drives/item/recent/recent_request_builder.py +3 -0
  47. msgraph/generated/drives/item/shared_with_me/shared_with_me_request_builder.py +3 -0
  48. msgraph/generated/kiota-dom-export.txt +1954 -1
  49. msgraph/generated/kiota-lock.json +1 -1
  50. msgraph/generated/models/access_review_history_definition.py +1 -1
  51. msgraph/generated/models/account_target_content.py +1 -1
  52. msgraph/generated/models/action_item.py +62 -0
  53. msgraph/generated/models/adhoc_call.py +67 -0
  54. msgraph/generated/models/adhoc_call_collection_response.py +58 -0
  55. msgraph/generated/models/admin.py +7 -0
  56. msgraph/generated/models/agreement_acceptance.py +1 -1
  57. msgraph/generated/models/ai_online_meeting.py +60 -0
  58. msgraph/generated/models/ai_user.py +7 -0
  59. msgraph/generated/models/alert.py +1 -1
  60. msgraph/generated/models/allowed_target_scope.py +1 -0
  61. msgraph/generated/models/alteration_response.py +1 -1
  62. msgraph/generated/models/application.py +1 -1
  63. msgraph/generated/models/applied_conditional_access_policy.py +1 -1
  64. msgraph/generated/models/assigned_place_mode.py +2 -2
  65. msgraph/generated/models/attachment_item.py +1 -1
  66. msgraph/generated/models/attack_simulation_operation.py +1 -1
  67. msgraph/generated/models/attendance_record.py +1 -1
  68. msgraph/generated/models/attribute_definition_metadata_entry.py +1 -1
  69. msgraph/generated/models/authentication_method_configuration.py +1 -1
  70. msgraph/generated/models/authentication_method_feature_configuration.py +1 -1
  71. msgraph/generated/models/authorization_policy.py +1 -1
  72. msgraph/generated/models/availability_item.py +1 -1
  73. msgraph/generated/models/base_map_feature.py +1 -1
  74. msgraph/generated/models/bit_locker_removable_drive_policy.py +1 -1
  75. msgraph/generated/models/building.py +9 -2
  76. msgraph/generated/models/building_map.py +3 -3
  77. msgraph/generated/models/calculated_column.py +2 -2
  78. msgraph/generated/models/calendar.py +2 -2
  79. msgraph/generated/models/calendar_permission.py +1 -1
  80. msgraph/generated/models/call.py +2 -2
  81. msgraph/generated/models/call_ai_insight.py +91 -0
  82. msgraph/generated/models/call_ai_insight_view_point.py +61 -0
  83. msgraph/generated/models/call_ended_event_message_detail.py +1 -1
  84. msgraph/generated/models/call_media_state.py +1 -1
  85. msgraph/generated/models/call_recording_event_message_detail.py +1 -1
  86. msgraph/generated/models/call_records/call_record.py +1 -1
  87. msgraph/generated/models/call_records/media_stream.py +2 -2
  88. msgraph/generated/models/call_records/session.py +1 -1
  89. msgraph/generated/models/call_started_event_message_detail.py +1 -1
  90. msgraph/generated/models/check_in_claim.py +2 -2
  91. msgraph/generated/models/cloud_app_security_session_control.py +1 -1
  92. msgraph/generated/models/cloud_communications.py +7 -0
  93. msgraph/generated/models/cloud_p_c.py +1 -1
  94. msgraph/generated/models/cloud_pc_device_image.py +3 -3
  95. msgraph/generated/models/cloud_pc_domain_join_configuration.py +2 -2
  96. msgraph/generated/models/cloud_pc_gallery_image.py +1 -1
  97. msgraph/generated/models/cloud_pc_launch_detail.py +73 -0
  98. msgraph/generated/models/cloud_pc_on_premises_connection_health_check.py +1 -1
  99. msgraph/generated/models/cloud_pc_operating_system.py +7 -0
  100. msgraph/generated/models/cloud_pc_provisioning_policy.py +1 -1
  101. msgraph/generated/models/cloud_pc_recommendation_report_type.py +6 -0
  102. msgraph/generated/models/cloud_pc_report.py +53 -0
  103. msgraph/generated/models/cloud_pc_restore_point_setting.py +1 -1
  104. msgraph/generated/models/cloud_pc_user_account_type.py +7 -0
  105. msgraph/generated/models/communications_identity_set.py +1 -1
  106. msgraph/generated/models/company_subscription.py +1 -1
  107. msgraph/generated/models/conditional_access_condition_set.py +4 -4
  108. msgraph/generated/models/conditional_access_external_tenants.py +1 -1
  109. msgraph/generated/models/conditional_access_platforms.py +2 -2
  110. msgraph/generated/models/contract.py +1 -1
  111. msgraph/generated/models/custom_training_setting.py +1 -1
  112. msgraph/generated/models/data_policy_operation.py +1 -1
  113. msgraph/generated/models/desk.py +10 -3
  114. msgraph/generated/models/device.py +3 -3
  115. msgraph/generated/models/directory_audit.py +1 -1
  116. msgraph/generated/models/education_assignment.py +1 -1
  117. msgraph/generated/models/education_assignment_defaults.py +1 -1
  118. msgraph/generated/models/education_class.py +1 -1
  119. msgraph/generated/models/education_module.py +1 -1
  120. msgraph/generated/models/education_organization.py +1 -1
  121. msgraph/generated/models/education_submission.py +1 -1
  122. msgraph/generated/models/education_user.py +1 -1
  123. msgraph/generated/models/email_authentication_method_configuration.py +1 -1
  124. msgraph/generated/models/email_file_assessment_request.py +1 -1
  125. msgraph/generated/models/end_user_notification.py +3 -3
  126. msgraph/generated/models/end_user_notification_setting.py +2 -2
  127. msgraph/generated/models/entity.py +84 -0
  128. msgraph/generated/models/event.py +3 -3
  129. msgraph/generated/models/event_message_response.py +1 -1
  130. msgraph/generated/models/external_connectors/connection_operation.py +1 -1
  131. msgraph/generated/models/external_connectors/external_connection.py +1 -1
  132. msgraph/generated/models/external_connectors/identity.py +1 -1
  133. msgraph/generated/models/fido2_authentication_method.py +1 -1
  134. msgraph/generated/models/fido2_key_restrictions.py +1 -1
  135. msgraph/generated/models/file_hash.py +1 -1
  136. msgraph/generated/models/file_storage.py +16 -2
  137. msgraph/generated/models/file_storage_container.py +7 -0
  138. msgraph/generated/models/file_storage_container_billing_classification.py +8 -0
  139. msgraph/generated/models/file_storage_container_billing_status.py +7 -0
  140. msgraph/generated/models/file_storage_container_type.py +96 -0
  141. msgraph/generated/models/file_storage_container_type_app_permission.py +20 -0
  142. msgraph/generated/models/file_storage_container_type_app_permission_grant.py +69 -0
  143. msgraph/generated/models/file_storage_container_type_app_permission_grant_collection_response.py +58 -0
  144. msgraph/generated/models/file_storage_container_type_collection_response.py +58 -0
  145. msgraph/generated/models/file_storage_container_type_registration.py +103 -0
  146. msgraph/generated/models/file_storage_container_type_registration_collection_response.py +58 -0
  147. msgraph/generated/models/file_storage_container_type_registration_settings.py +89 -0
  148. msgraph/generated/models/file_storage_container_type_settings.py +96 -0
  149. msgraph/generated/models/file_storage_container_type_settings_override.py +11 -0
  150. msgraph/generated/models/filter_operator_schema.py +1 -1
  151. msgraph/generated/models/fixture_map.py +1 -1
  152. msgraph/generated/models/floor.py +1 -1
  153. msgraph/generated/models/group.py +1 -1
  154. msgraph/generated/models/initiator.py +1 -1
  155. msgraph/generated/models/invitation.py +1 -1
  156. msgraph/generated/models/invitation_redemption_identity_provider_configuration.py +2 -2
  157. msgraph/generated/models/landing_page.py +2 -2
  158. msgraph/generated/models/learning_content.py +1 -1
  159. msgraph/generated/models/learning_course_activity.py +1 -1
  160. msgraph/generated/models/level_map.py +4 -4
  161. msgraph/generated/models/list_item.py +7 -0
  162. msgraph/generated/models/login_page.py +2 -2
  163. msgraph/generated/models/mail_assessment_request.py +1 -1
  164. msgraph/generated/models/mail_tips.py +1 -1
  165. msgraph/generated/models/mailbox_details.py +2 -2
  166. msgraph/generated/models/mailbox_settings.py +2 -2
  167. msgraph/generated/models/malware_state_for_windows_device.py +2 -2
  168. msgraph/generated/models/max_work_location_details.py +9 -0
  169. msgraph/generated/models/meeting_note.py +69 -0
  170. msgraph/generated/models/meeting_note_subpoint.py +58 -0
  171. msgraph/generated/models/mention_event.py +70 -0
  172. msgraph/generated/models/microsoft_custom_training_setting.py +1 -1
  173. msgraph/generated/models/microsoft_managed_desktop.py +1 -1
  174. msgraph/generated/models/microsoft_training_assignment_mapping.py +1 -1
  175. msgraph/generated/models/network_connection.py +3 -3
  176. msgraph/generated/models/notebook.py +1 -1
  177. msgraph/generated/models/o_auth_consent_app_detail.py +1 -1
  178. msgraph/generated/models/object_definition_metadata_entry.py +1 -1
  179. msgraph/generated/models/object_mapping_metadata_entry.py +1 -1
  180. msgraph/generated/models/online_meeting_base.py +24 -4
  181. msgraph/generated/models/online_meeting_restricted.py +2 -2
  182. msgraph/generated/models/online_meeting_sensitivity_label_assignment.py +54 -0
  183. msgraph/generated/models/participant_info.py +1 -1
  184. msgraph/generated/models/partners/billing/operation.py +1 -1
  185. msgraph/generated/models/payload.py +8 -8
  186. msgraph/generated/models/persistent_browser_session_control.py +1 -1
  187. msgraph/generated/models/phone_authentication_method.py +2 -2
  188. msgraph/generated/models/place.py +7 -7
  189. msgraph/generated/models/place_feature_enablement.py +8 -0
  190. msgraph/generated/models/place_mode.py +7 -0
  191. msgraph/generated/models/planner_plan_container.py +1 -1
  192. msgraph/generated/models/platform_credential_authentication_method.py +2 -2
  193. msgraph/generated/models/positive_reinforcement_notification.py +1 -1
  194. msgraph/generated/models/presence.py +7 -0
  195. msgraph/generated/models/printer_capabilities.py +2 -2
  196. msgraph/generated/models/process.py +1 -1
  197. msgraph/generated/models/provisioning_object_summary.py +1 -1
  198. msgraph/generated/models/provisioning_status_info.py +1 -1
  199. msgraph/generated/models/provisioning_step.py +2 -2
  200. msgraph/generated/models/registry_key_state.py +3 -3
  201. msgraph/generated/models/remote_desktop_security_configuration.py +1 -1
  202. msgraph/generated/models/resource_link.py +2 -2
  203. msgraph/generated/models/resource_specific_permission_grant.py +1 -1
  204. msgraph/generated/models/response_status.py +1 -1
  205. msgraph/generated/models/restore_point_search_result.py +1 -1
  206. msgraph/generated/models/retention_label_settings.py +1 -1
  207. msgraph/generated/models/risk_detection.py +5 -5
  208. msgraph/generated/models/risky_user.py +3 -3
  209. msgraph/generated/models/room.py +12 -1
  210. msgraph/generated/models/schedule_change_request.py +2 -2
  211. msgraph/generated/models/search/answer_variant.py +1 -1
  212. msgraph/generated/models/search/bookmark.py +1 -1
  213. msgraph/generated/models/search/qna.py +1 -1
  214. msgraph/generated/models/search_request.py +1 -1
  215. msgraph/generated/models/section_map.py +1 -1
  216. msgraph/generated/models/security/active_directory_domain_evidence.py +61 -0
  217. msgraph/generated/models/security/ai_agent_evidence.py +1 -1
  218. msgraph/generated/models/security/alert.py +4 -4
  219. msgraph/generated/models/security/alert_evidence.py +7 -0
  220. msgraph/generated/models/security/case_operation.py +2 -2
  221. msgraph/generated/models/security/data_source_container.py +1 -1
  222. msgraph/generated/models/security/device_evidence.py +8 -1
  223. msgraph/generated/models/security/ediscovery_add_to_review_set_operation.py +4 -4
  224. msgraph/generated/models/security/ediscovery_case.py +7 -0
  225. msgraph/generated/models/security/ediscovery_case_member.py +68 -0
  226. msgraph/generated/models/security/ediscovery_case_member_collection_response.py +58 -0
  227. msgraph/generated/models/security/ediscovery_case_settings.py +1 -1
  228. msgraph/generated/models/security/ediscovery_estimate_operation.py +1 -1
  229. msgraph/generated/models/security/ediscovery_export_operation.py +2 -2
  230. msgraph/generated/models/security/ediscovery_review_tag.py +1 -1
  231. msgraph/generated/models/security/ediscovery_search.py +1 -1
  232. msgraph/generated/models/security/ediscovery_search_export_operation.py +2 -2
  233. msgraph/generated/models/security/google_cloud_resource_evidence.py +1 -1
  234. msgraph/generated/models/security/incident.py +2 -2
  235. msgraph/generated/models/security/kubernetes_cluster_evidence.py +1 -1
  236. msgraph/generated/models/security/kubernetes_service_port.py +1 -1
  237. msgraph/generated/models/security/mailbox_configuration_evidence.py +6 -6
  238. msgraph/generated/models/security/recipient_type.py +7 -0
  239. msgraph/generated/models/security/teams_message_evidence.py +2 -2
  240. msgraph/generated/models/security/unified_group_source.py +1 -1
  241. msgraph/generated/models/security/user_source.py +1 -1
  242. msgraph/generated/models/security_resource.py +1 -1
  243. msgraph/generated/models/send_dtmf_tones_operation.py +1 -1
  244. msgraph/generated/models/sensitivity_label.py +4 -0
  245. msgraph/generated/models/service_health_issue_post.py +1 -1
  246. msgraph/generated/models/service_principal.py +1 -1
  247. msgraph/generated/models/service_principal_risk_detection.py +1 -1
  248. msgraph/generated/models/sharepoint_settings.py +3 -3
  249. msgraph/generated/models/sign_in.py +1 -1
  250. msgraph/generated/models/sign_in_frequency_session_control.py +1 -1
  251. msgraph/generated/models/simulation.py +4 -4
  252. msgraph/generated/models/simulation_notification.py +1 -1
  253. msgraph/generated/models/site_collection.py +1 -1
  254. msgraph/generated/models/subject_rights_request.py +3 -3
  255. msgraph/generated/models/subject_rights_request_history.py +2 -2
  256. msgraph/generated/models/subject_rights_request_stage_detail.py +2 -2
  257. msgraph/generated/models/subject_set.py +7 -0
  258. msgraph/generated/models/subscribed_sku.py +2 -2
  259. msgraph/generated/models/synchronization_metadata_entry.py +1 -1
  260. msgraph/generated/models/target_agent_identity_sponsors_or_owners.py +53 -0
  261. msgraph/generated/models/target_resource.py +1 -1
  262. msgraph/generated/models/team_fun_settings.py +1 -1
  263. msgraph/generated/models/teams_administration/account_type.py +11 -0
  264. msgraph/generated/models/teams_administration/assigned_telephone_number.py +65 -0
  265. msgraph/generated/models/teams_administration/assignment_category.py +8 -0
  266. msgraph/generated/models/teams_administration/assignment_type.py +7 -0
  267. msgraph/generated/models/teams_administration/effective_policy_assignment.py +65 -0
  268. msgraph/generated/models/teams_administration/policy_assignment.py +73 -0
  269. msgraph/generated/models/teams_administration/teams_admin_root.py +60 -0
  270. msgraph/generated/models/teams_administration/teams_user_configuration.py +106 -0
  271. msgraph/generated/models/teams_administration/teams_user_configuration_collection_response.py +58 -0
  272. msgraph/generated/models/teams_app_definition.py +1 -1
  273. msgraph/generated/models/teamwork_activity_topic.py +1 -1
  274. msgraph/generated/models/teamwork_application_identity.py +1 -1
  275. msgraph/generated/models/teamwork_conversation_identity.py +1 -1
  276. msgraph/generated/models/teamwork_user_identity.py +1 -1
  277. msgraph/generated/models/term_store/group.py +1 -1
  278. msgraph/generated/models/term_store/relation.py +1 -1
  279. msgraph/generated/models/threat_assessment_request.py +3 -3
  280. msgraph/generated/models/threat_assessment_result.py +1 -1
  281. msgraph/generated/models/time_card.py +1 -1
  282. msgraph/generated/models/time_off_details.py +58 -0
  283. msgraph/generated/models/training.py +3 -3
  284. msgraph/generated/models/training_reminder_notification.py +1 -1
  285. msgraph/generated/models/training_setting.py +1 -1
  286. msgraph/generated/models/unavailable_place_mode.py +57 -0
  287. msgraph/generated/models/unit_map.py +1 -1
  288. msgraph/generated/models/user.py +14 -0
  289. msgraph/generated/models/user_experience_analytics_app_health_app_performance_by_o_s_version.py +2 -2
  290. msgraph/generated/models/user_experience_analytics_app_health_application_performance.py +2 -2
  291. msgraph/generated/models/user_experience_analytics_app_health_device_performance_details.py +2 -2
  292. msgraph/generated/models/user_registration_details.py +2 -2
  293. msgraph/generated/models/user_registration_feature_summary.py +2 -2
  294. msgraph/generated/models/user_registration_method_summary.py +2 -2
  295. msgraph/generated/models/user_security_state.py +3 -3
  296. msgraph/generated/models/user_settings.py +8 -1
  297. msgraph/generated/models/user_training_event_info.py +1 -1
  298. msgraph/generated/models/user_training_status_info.py +1 -1
  299. msgraph/generated/models/user_work_location.py +72 -0
  300. msgraph/generated/models/virtual_endpoint.py +7 -0
  301. msgraph/generated/models/virtual_event_townhall.py +1 -1
  302. msgraph/generated/models/virtual_event_webinar.py +1 -1
  303. msgraph/generated/models/win32_lob_app.py +2 -2
  304. msgraph/generated/models/win32_lob_app_power_shell_script_rule.py +1 -1
  305. msgraph/generated/models/windows365_switch_compatibility_failure_reason_type.py +7 -0
  306. msgraph/generated/models/windows_device_malware_state.py +5 -5
  307. msgraph/generated/models/windows_hello_for_business_authentication_method.py +1 -1
  308. msgraph/generated/models/windows_malware_information.py +2 -2
  309. msgraph/generated/models/windows_protection_state.py +2 -2
  310. msgraph/generated/models/windows_update_for_business_configuration.py +2 -2
  311. msgraph/generated/models/work_hours_and_locations_setting.py +74 -0
  312. msgraph/generated/models/work_location_source.py +9 -0
  313. msgraph/generated/models/work_location_type.py +9 -0
  314. msgraph/generated/models/work_location_update_scope.py +7 -0
  315. msgraph/generated/models/work_plan_occurrence.py +86 -0
  316. msgraph/generated/models/work_plan_occurrence_collection_response.py +58 -0
  317. msgraph/generated/models/work_plan_recurrence.py +82 -0
  318. msgraph/generated/models/work_plan_recurrence_collection_response.py +58 -0
  319. msgraph/generated/models/workbook_application.py +1 -1
  320. msgraph/generated/models/workbook_named_item.py +1 -1
  321. msgraph/generated/models/workbook_range_format.py +2 -2
  322. msgraph/generated/models/workbook_table.py +1 -1
  323. msgraph/generated/models/workforce_integration.py +2 -2
  324. msgraph/generated/models/workforce_integration_encryption.py +1 -1
  325. msgraph/generated/models/workspace.py +9 -5
  326. msgraph/generated/places/graph_building/graph_building_request_builder.py +4 -3
  327. msgraph/generated/places/graph_desk/graph_desk_request_builder.py +4 -3
  328. msgraph/generated/places/graph_floor/graph_floor_request_builder.py +4 -3
  329. msgraph/generated/places/graph_room/graph_room_request_builder.py +3 -3
  330. msgraph/generated/places/graph_section/graph_section_request_builder.py +4 -3
  331. msgraph/generated/places/graph_workspace/graph_workspace_request_builder.py +4 -3
  332. msgraph/generated/places/item/check_ins/check_ins_request_builder.py +6 -5
  333. msgraph/generated/places/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +4 -3
  334. msgraph/generated/places/item/graph_building/check_ins/check_ins_request_builder.py +3 -3
  335. msgraph/generated/places/item/graph_building/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
  336. msgraph/generated/places/item/graph_building/graph_building_request_builder.py +4 -3
  337. msgraph/generated/places/item/graph_building/map/footprints/footprints_request_builder.py +4 -3
  338. msgraph/generated/places/item/graph_building/map/footprints/item/footprint_map_item_request_builder.py +3 -3
  339. msgraph/generated/places/item/graph_building/map/levels/item/fixtures/fixtures_request_builder.py +4 -3
  340. msgraph/generated/places/item/graph_building/map/levels/item/fixtures/item/fixture_map_item_request_builder.py +9 -7
  341. msgraph/generated/places/item/graph_building/map/levels/item/level_map_item_request_builder.py +3 -3
  342. msgraph/generated/places/item/graph_building/map/levels/item/sections/item/section_map_item_request_builder.py +3 -3
  343. msgraph/generated/places/item/graph_building/map/levels/item/sections/sections_request_builder.py +4 -3
  344. msgraph/generated/places/item/graph_building/map/levels/item/units/item/unit_map_item_request_builder.py +9 -7
  345. msgraph/generated/places/item/graph_building/map/levels/item/units/units_request_builder.py +4 -3
  346. msgraph/generated/places/item/graph_building/map/levels/levels_request_builder.py +4 -3
  347. msgraph/generated/places/item/graph_building/map/map_request_builder.py +7 -5
  348. msgraph/generated/places/item/graph_desk/check_ins/check_ins_request_builder.py +3 -3
  349. msgraph/generated/places/item/graph_desk/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
  350. msgraph/generated/places/item/graph_desk/graph_desk_request_builder.py +4 -3
  351. msgraph/generated/places/item/graph_floor/check_ins/check_ins_request_builder.py +3 -3
  352. msgraph/generated/places/item/graph_floor/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
  353. msgraph/generated/places/item/graph_floor/graph_floor_request_builder.py +4 -3
  354. msgraph/generated/places/item/graph_room/check_ins/check_ins_request_builder.py +3 -3
  355. msgraph/generated/places/item/graph_room/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
  356. msgraph/generated/places/item/graph_room/graph_room_request_builder.py +3 -3
  357. msgraph/generated/places/item/graph_room_list/check_ins/check_ins_request_builder.py +3 -3
  358. msgraph/generated/places/item/graph_room_list/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
  359. msgraph/generated/places/item/graph_room_list/rooms/item/check_ins/check_ins_request_builder.py +3 -3
  360. msgraph/generated/places/item/graph_room_list/rooms/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
  361. msgraph/generated/places/item/graph_room_list/workspaces/item/check_ins/check_ins_request_builder.py +3 -3
  362. msgraph/generated/places/item/graph_room_list/workspaces/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
  363. msgraph/generated/places/item/graph_section/check_ins/check_ins_request_builder.py +3 -3
  364. msgraph/generated/places/item/graph_section/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
  365. msgraph/generated/places/item/graph_section/graph_section_request_builder.py +4 -3
  366. msgraph/generated/places/item/graph_workspace/check_ins/check_ins_request_builder.py +3 -3
  367. msgraph/generated/places/item/graph_workspace/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
  368. msgraph/generated/places/item/graph_workspace/graph_workspace_request_builder.py +4 -3
  369. msgraph/generated/places/item/place_item_request_builder.py +5 -4
  370. msgraph/generated/places/places_request_builder.py +3 -2
  371. msgraph/generated/security/cases/ediscovery_cases/item/case_members/case_members_request_builder.py +210 -0
  372. msgraph/generated/security/cases/ediscovery_cases/item/case_members/count/count_request_builder.py +104 -0
  373. msgraph/generated/security/cases/ediscovery_cases/item/case_members/item/ediscovery_case_member_item_request_builder.py +189 -0
  374. msgraph/generated/security/cases/ediscovery_cases/item/ediscovery_case_item_request_builder.py +10 -0
  375. msgraph/generated/security/secure_score_control_profiles/item/secure_score_control_profile_item_request_builder.py +2 -2
  376. msgraph/generated/solutions/backup_restore/service_apps/item/service_app_item_request_builder.py +2 -2
  377. msgraph/generated/storage/file_storage/container_type_registrations/container_type_registrations_request_builder.py +209 -0
  378. msgraph/generated/storage/file_storage/container_type_registrations/count/count_request_builder.py +104 -0
  379. msgraph/generated/storage/file_storage/container_type_registrations/item/application_permission_grants/application_permission_grants_request_builder.py +209 -0
  380. msgraph/generated/storage/file_storage/container_type_registrations/item/application_permission_grants/count/count_request_builder.py +104 -0
  381. msgraph/generated/storage/file_storage/container_type_registrations/item/application_permission_grants/item/file_storage_container_type_app_permission_grant_app_item_request_builder.py +191 -0
  382. msgraph/generated/storage/file_storage/container_type_registrations/item/file_storage_container_type_registration_item_request_builder.py +201 -0
  383. msgraph/generated/storage/file_storage/container_types/container_types_request_builder.py +210 -0
  384. msgraph/generated/storage/file_storage/container_types/count/count_request_builder.py +104 -0
  385. msgraph/generated/storage/file_storage/container_types/item/file_storage_container_type_item_request_builder.py +191 -0
  386. msgraph/generated/storage/file_storage/containers/item/file_storage_container_item_request_builder.py +3 -3
  387. msgraph/generated/storage/file_storage/deleted_containers/deleted_containers_request_builder.py +3 -3
  388. msgraph/generated/storage/file_storage/deleted_containers/item/file_storage_container_item_request_builder.py +3 -3
  389. msgraph/generated/storage/file_storage/file_storage_request_builder.py +20 -0
  390. msgraph/generated/users/item/adhoc_calls/adhoc_calls_request_builder.py +208 -0
  391. msgraph/generated/users/item/adhoc_calls/count/count_request_builder.py +104 -0
  392. msgraph/generated/users/item/adhoc_calls/item/adhoc_call_item_request_builder.py +208 -0
  393. msgraph/generated/users/item/adhoc_calls/item/recordings/count/count_request_builder.py +104 -0
  394. msgraph/generated/users/item/adhoc_calls/item/recordings/delta/delta_get_response.py +58 -0
  395. msgraph/generated/users/item/adhoc_calls/item/recordings/delta/delta_request_builder.py +137 -0
  396. msgraph/generated/users/item/adhoc_calls/item/recordings/item/call_recording_item_request_builder.py +199 -0
  397. msgraph/generated/users/item/adhoc_calls/item/recordings/item/content/content_request_builder.py +161 -0
  398. msgraph/generated/users/item/adhoc_calls/item/recordings/recordings_request_builder.py +218 -0
  399. msgraph/generated/users/item/adhoc_calls/item/transcripts/count/count_request_builder.py +104 -0
  400. msgraph/generated/users/item/adhoc_calls/item/transcripts/delta/delta_get_response.py +58 -0
  401. msgraph/generated/users/item/adhoc_calls/item/transcripts/delta/delta_request_builder.py +137 -0
  402. msgraph/generated/users/item/adhoc_calls/item/transcripts/item/call_transcript_item_request_builder.py +209 -0
  403. msgraph/generated/users/item/adhoc_calls/item/transcripts/item/content/content_request_builder.py +161 -0
  404. msgraph/generated/users/item/adhoc_calls/item/transcripts/item/metadata_content/metadata_content_request_builder.py +157 -0
  405. msgraph/generated/users/item/adhoc_calls/item/transcripts/transcripts_request_builder.py +218 -0
  406. msgraph/generated/users/item/cloud_p_cs/item/cloud_p_c_item_request_builder.py +20 -0
  407. msgraph/generated/users/item/cloud_p_cs/item/reprovision/reprovision_post_request_body.py +64 -0
  408. msgraph/generated/users/item/cloud_p_cs/item/reprovision/reprovision_request_builder.py +87 -0
  409. msgraph/generated/users/item/cloud_p_cs/item/retrieve_cloud_pc_launch_detail/retrieve_cloud_pc_launch_detail_request_builder.py +82 -0
  410. msgraph/generated/users/item/mail_folders/item/child_folders/item/messages/delta/delta_request_builder.py +3 -3
  411. msgraph/generated/users/item/mail_folders/item/messages/delta/delta_request_builder.py +3 -3
  412. msgraph/generated/users/item/messages/delta/delta_request_builder.py +3 -3
  413. msgraph/generated/users/item/on_premises_sync_behavior/on_premises_sync_behavior_request_builder.py +188 -0
  414. msgraph/generated/users/item/online_meetings/item/recordings/item/call_recording_item_request_builder.py +3 -3
  415. msgraph/generated/users/item/online_meetings/item/recordings/recordings_request_builder.py +3 -3
  416. msgraph/generated/users/item/online_meetings/item/transcripts/item/call_transcript_item_request_builder.py +3 -3
  417. msgraph/generated/users/item/online_meetings/item/transcripts/item/content/content_request_builder.py +2 -2
  418. msgraph/generated/users/item/online_meetings/item/transcripts/item/metadata_content/metadata_content_request_builder.py +2 -2
  419. msgraph/generated/users/item/online_meetings/item/transcripts/transcripts_request_builder.py +3 -3
  420. msgraph/generated/users/item/presence/clear_automatic_location/clear_automatic_location_request_builder.py +79 -0
  421. msgraph/generated/users/item/presence/clear_location/clear_location_request_builder.py +79 -0
  422. msgraph/generated/users/item/presence/presence_request_builder.py +40 -0
  423. msgraph/generated/users/item/presence/set_automatic_location/set_automatic_location_post_request_body.py +61 -0
  424. msgraph/generated/users/item/presence/set_automatic_location/set_automatic_location_request_builder.py +87 -0
  425. msgraph/generated/users/item/presence/set_manual_location/set_manual_location_post_request_body.py +61 -0
  426. msgraph/generated/users/item/presence/set_manual_location/set_manual_location_request_builder.py +87 -0
  427. msgraph/generated/users/item/settings/settings_request_builder.py +10 -0
  428. msgraph/generated/users/item/settings/windows/item/windows_setting_item_request_builder.py +3 -3
  429. msgraph/generated/users/item/settings/windows/windows_request_builder.py +3 -3
  430. msgraph/generated/users/item/settings/work_hours_and_locations/occurrences/count/count_request_builder.py +104 -0
  431. msgraph/generated/users/item/settings/work_hours_and_locations/occurrences/item/work_plan_occurrence_item_request_builder.py +188 -0
  432. msgraph/generated/users/item/settings/work_hours_and_locations/occurrences/occurrences_request_builder.py +218 -0
  433. msgraph/generated/users/item/settings/work_hours_and_locations/occurrences/set_current_location/set_current_location_post_request_body.py +68 -0
  434. msgraph/generated/users/item/settings/work_hours_and_locations/occurrences/set_current_location/set_current_location_request_builder.py +87 -0
  435. msgraph/generated/users/item/settings/work_hours_and_locations/occurrences_view_with_start_date_time_with_end_date_time/occurrences_view_with_start_date_time_with_end_date_time_get_response.py +58 -0
  436. msgraph/generated/users/item/settings/work_hours_and_locations/occurrences_view_with_start_date_time_with_end_date_time/occurrences_view_with_start_date_time_with_end_date_time_request_builder.py +143 -0
  437. msgraph/generated/users/item/settings/work_hours_and_locations/recurrences/count/count_request_builder.py +104 -0
  438. msgraph/generated/users/item/settings/work_hours_and_locations/recurrences/item/work_plan_recurrence_item_request_builder.py +188 -0
  439. msgraph/generated/users/item/settings/work_hours_and_locations/recurrences/recurrences_request_builder.py +208 -0
  440. msgraph/generated/users/item/settings/work_hours_and_locations/work_hours_and_locations_request_builder.py +188 -0
  441. msgraph/generated/users/item/user_item_request_builder.py +20 -0
  442. {msgraph_sdk-1.50.0.dist-info → msgraph_sdk-1.52.0.dist-info}/METADATA +1 -1
  443. {msgraph_sdk-1.50.0.dist-info → msgraph_sdk-1.52.0.dist-info}/RECORD +445 -305
  444. {msgraph_sdk-1.50.0.dist-info → msgraph_sdk-1.52.0.dist-info}/WHEEL +0 -0
  445. {msgraph_sdk-1.50.0.dist-info → msgraph_sdk-1.52.0.dist-info}/licenses/LICENSE +0 -0
@@ -18,7 +18,7 @@ from .entity import Entity
18
18
 
19
19
  @dataclass
20
20
  class Calendar(Entity, Parsable):
21
- # Represent the online meeting service providers that can be used to create online meetings in this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness.
21
+ # Represent the online meeting service providers that can be used to create online meetings in this calendar. The possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness.
22
22
  allowed_online_meeting_providers: Optional[list[OnlineMeetingProviderType]] = None
23
23
  # The permissions of the users with whom the calendar is shared.
24
24
  calendar_permissions: Optional[list[CalendarPermission]] = None
@@ -34,7 +34,7 @@ class Calendar(Entity, Parsable):
34
34
  change_key: Optional[str] = None
35
35
  # Specifies the color theme to distinguish the calendar from other calendars in a UI. The property values are: auto, lightBlue, lightGreen, lightOrange, lightGray, lightYellow, lightTeal, lightPink, lightBrown, lightRed, maxColor.
36
36
  color: Optional[CalendarColor] = None
37
- # The default online meeting provider for meetings sent from this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness.
37
+ # The default online meeting provider for meetings sent from this calendar. The possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness.
38
38
  default_online_meeting_provider: Optional[OnlineMeetingProviderType] = None
39
39
  # The events in the calendar. Navigation property. Read-only.
40
40
  events: Optional[list[Event]] = None
@@ -13,7 +13,7 @@ from .entity import Entity
13
13
 
14
14
  @dataclass
15
15
  class CalendarPermission(Entity, Parsable):
16
- # List of allowed sharing or delegating permission levels for the calendar. Possible values are: none, freeBusyRead, limitedRead, read, write, delegateWithoutPrivateEventAccess, delegateWithPrivateEventAccess, custom.
16
+ # List of allowed sharing or delegating permission levels for the calendar. The possible values are: none, freeBusyRead, limitedRead, read, write, delegateWithoutPrivateEventAccess, delegateWithPrivateEventAccess, custom.
17
17
  allowed_roles: Optional[list[CalendarRoleType]] = None
18
18
  # Represents a share recipient or delegate who has access to the calendar. For the 'My Organization' share recipient, the address property is null. Read-only.
19
19
  email_address: Optional[EmailAddress] = None
@@ -62,13 +62,13 @@ class Call(Entity, Parsable):
62
62
  operations: Optional[list[CommsOperation]] = None
63
63
  # The participants property
64
64
  participants: Optional[list[Participant]] = None
65
- # The list of requested modalities. Possible values are: unknown, audio, video, videoBasedScreenSharing, data.
65
+ # The list of requested modalities. The possible values are: unknown, audio, video, videoBasedScreenSharing, data.
66
66
  requested_modalities: Optional[list[Modality]] = None
67
67
  # The result information. For example, the result can hold termination reason. Read-only.
68
68
  result_info: Optional[ResultInfo] = None
69
69
  # The originator of the call.
70
70
  source: Optional[ParticipantInfo] = None
71
- # The call state. Possible values are: incoming, establishing, ringing, established, hold, transferring, transferAccepted, redirecting, terminating, terminated. Read-only.
71
+ # The call state. The possible values are: incoming, establishing, ringing, established, hold, transferring, transferAccepted, redirecting, terminating, terminated. Read-only.
72
72
  state: Optional[CallState] = None
73
73
  # The subject of the conversation.
74
74
  subject: Optional[str] = None
@@ -0,0 +1,91 @@
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 .action_item import ActionItem
10
+ from .call_ai_insight_view_point import CallAiInsightViewPoint
11
+ from .entity import Entity
12
+ from .meeting_note import MeetingNote
13
+
14
+ from .entity import Entity
15
+
16
+ @dataclass
17
+ class CallAiInsight(Entity, Parsable):
18
+ # The actionItems property
19
+ action_items: Optional[list[ActionItem]] = None
20
+ # The callId property
21
+ call_id: Optional[str] = None
22
+ # The contentCorrelationId property
23
+ content_correlation_id: Optional[str] = None
24
+ # The createdDateTime property
25
+ created_date_time: Optional[datetime.datetime] = None
26
+ # The endDateTime property
27
+ end_date_time: Optional[datetime.datetime] = None
28
+ # The meetingNotes property
29
+ meeting_notes: Optional[list[MeetingNote]] = None
30
+ # The OdataType property
31
+ odata_type: Optional[str] = None
32
+ # The viewpoint property
33
+ viewpoint: Optional[CallAiInsightViewPoint] = None
34
+
35
+ @staticmethod
36
+ def create_from_discriminator_value(parse_node: ParseNode) -> CallAiInsight:
37
+ """
38
+ Creates a new instance of the appropriate class based on discriminator value
39
+ param parse_node: The parse node to use to read the discriminator value and create the object
40
+ Returns: CallAiInsight
41
+ """
42
+ if parse_node is None:
43
+ raise TypeError("parse_node cannot be null.")
44
+ return CallAiInsight()
45
+
46
+ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
47
+ """
48
+ The deserialization information for the current model
49
+ Returns: dict[str, Callable[[ParseNode], None]]
50
+ """
51
+ from .action_item import ActionItem
52
+ from .call_ai_insight_view_point import CallAiInsightViewPoint
53
+ from .entity import Entity
54
+ from .meeting_note import MeetingNote
55
+
56
+ from .action_item import ActionItem
57
+ from .call_ai_insight_view_point import CallAiInsightViewPoint
58
+ from .entity import Entity
59
+ from .meeting_note import MeetingNote
60
+
61
+ fields: dict[str, Callable[[Any], None]] = {
62
+ "actionItems": lambda n : setattr(self, 'action_items', n.get_collection_of_object_values(ActionItem)),
63
+ "callId": lambda n : setattr(self, 'call_id', n.get_str_value()),
64
+ "contentCorrelationId": lambda n : setattr(self, 'content_correlation_id', n.get_str_value()),
65
+ "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()),
66
+ "endDateTime": lambda n : setattr(self, 'end_date_time', n.get_datetime_value()),
67
+ "meetingNotes": lambda n : setattr(self, 'meeting_notes', n.get_collection_of_object_values(MeetingNote)),
68
+ "viewpoint": lambda n : setattr(self, 'viewpoint', n.get_object_value(CallAiInsightViewPoint)),
69
+ }
70
+ super_fields = super().get_field_deserializers()
71
+ fields.update(super_fields)
72
+ return fields
73
+
74
+ def serialize(self,writer: SerializationWriter) -> None:
75
+ """
76
+ Serializes information the current object
77
+ param writer: Serialization writer to use to serialize this model
78
+ Returns: None
79
+ """
80
+ if writer is None:
81
+ raise TypeError("writer cannot be null.")
82
+ super().serialize(writer)
83
+ writer.write_collection_of_object_values("actionItems", self.action_items)
84
+ writer.write_str_value("callId", self.call_id)
85
+ writer.write_str_value("contentCorrelationId", self.content_correlation_id)
86
+ writer.write_datetime_value("createdDateTime", self.created_date_time)
87
+ writer.write_datetime_value("endDateTime", self.end_date_time)
88
+ writer.write_collection_of_object_values("meetingNotes", self.meeting_notes)
89
+ writer.write_object_value("viewpoint", self.viewpoint)
90
+
91
+
@@ -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 AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
5
+ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton
6
+ from typing import Any, Optional, TYPE_CHECKING, Union
7
+
8
+ if TYPE_CHECKING:
9
+ from .mention_event import MentionEvent
10
+
11
+ @dataclass
12
+ class CallAiInsightViewPoint(AdditionalDataHolder, BackedModel, Parsable):
13
+ # Stores model information.
14
+ backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False)
15
+
16
+ # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
17
+ additional_data: dict[str, Any] = field(default_factory=dict)
18
+ # The mentionEvents property
19
+ mention_events: Optional[list[MentionEvent]] = None
20
+ # The OdataType property
21
+ odata_type: Optional[str] = None
22
+
23
+ @staticmethod
24
+ def create_from_discriminator_value(parse_node: ParseNode) -> CallAiInsightViewPoint:
25
+ """
26
+ Creates a new instance of the appropriate class based on discriminator value
27
+ param parse_node: The parse node to use to read the discriminator value and create the object
28
+ Returns: CallAiInsightViewPoint
29
+ """
30
+ if parse_node is None:
31
+ raise TypeError("parse_node cannot be null.")
32
+ return CallAiInsightViewPoint()
33
+
34
+ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
35
+ """
36
+ The deserialization information for the current model
37
+ Returns: dict[str, Callable[[ParseNode], None]]
38
+ """
39
+ from .mention_event import MentionEvent
40
+
41
+ from .mention_event import MentionEvent
42
+
43
+ fields: dict[str, Callable[[Any], None]] = {
44
+ "mentionEvents": lambda n : setattr(self, 'mention_events', n.get_collection_of_object_values(MentionEvent)),
45
+ "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()),
46
+ }
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
+ writer.write_collection_of_object_values("mentionEvents", self.mention_events)
58
+ writer.write_str_value("@odata.type", self.odata_type)
59
+ writer.write_additional_data_value(self.additional_data)
60
+
61
+
@@ -19,7 +19,7 @@ class CallEndedEventMessageDetail(EventMessageDetail, Parsable):
19
19
  odata_type: Optional[str] = "#microsoft.graph.callEndedEventMessageDetail"
20
20
  # Duration of the call.
21
21
  call_duration: Optional[datetime.timedelta] = None
22
- # Represents the call event type. Possible values are: call, meeting, screenShare, unknownFutureValue.
22
+ # Represents the call event type. The possible values are: call, meeting, screenShare, unknownFutureValue.
23
23
  call_event_type: Optional[TeamworkCallEventType] = None
24
24
  # Unique identifier of the call.
25
25
  call_id: Optional[str] = None
@@ -15,7 +15,7 @@ class CallMediaState(AdditionalDataHolder, BackedModel, Parsable):
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 audio media state. Possible values are: active, inactive, unknownFutureValue.
18
+ # The audio media state. The possible values are: active, inactive, unknownFutureValue.
19
19
  audio: Optional[MediaState] = None
20
20
  # The OdataType property
21
21
  odata_type: Optional[str] = None
@@ -22,7 +22,7 @@ class CallRecordingEventMessageDetail(EventMessageDetail, Parsable):
22
22
  call_recording_display_name: Optional[str] = None
23
23
  # Duration of the call recording.
24
24
  call_recording_duration: Optional[datetime.timedelta] = None
25
- # Status of the call recording. Possible values are: success, failure, initial, chunkFinished, unknownFutureValue.
25
+ # Status of the call recording. The possible values are: success, failure, initial, chunkFinished, unknownFutureValue.
26
26
  call_recording_status: Optional[CallRecordingStatus] = None
27
27
  # Call recording URL.
28
28
  call_recording_url: Optional[str] = None
@@ -24,7 +24,7 @@ class CallRecord(Entity, Parsable):
24
24
  join_web_url: Optional[str] = None
25
25
  # UTC time when the call record was created. The DatetimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
26
26
  last_modified_date_time: Optional[datetime.datetime] = None
27
- # List of all the modalities used in the call. Possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue.
27
+ # List of all the modalities used in the call. The possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue.
28
28
  modalities: Optional[list[Modality]] = None
29
29
  # The OdataType property
30
30
  odata_type: Optional[str] = None
@@ -18,7 +18,7 @@ class MediaStream(AdditionalDataHolder, BackedModel, Parsable):
18
18
 
19
19
  # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
20
20
  additional_data: dict[str, Any] = field(default_factory=dict)
21
- # Codec name used to encode audio for transmission on the network. Possible values are: unknown, invalid, cn, pcma, pcmu, amrWide, g722, g7221, g7221c, g729, multiChannelAudio, muchv2, opus, satin, satinFullband, rtAudio8, rtAudio16, silk, silkNarrow, silkWide, siren, xmsRta, unknownFutureValue.
21
+ # Codec name used to encode audio for transmission on the network. The possible values are: unknown, invalid, cn, pcma, pcmu, amrWide, g722, g7221, g7221c, g729, multiChannelAudio, muchv2, opus, satin, satinFullband, rtAudio8, rtAudio16, silk, silkNarrow, silkWide, siren, xmsRta, unknownFutureValue.
22
22
  audio_codec: Optional[AudioCodec] = None
23
23
  # Average Network Mean Opinion Score degradation for stream. Represents how much the network loss and jitter has impacted the quality of received audio.
24
24
  average_audio_degradation: Optional[float] = None
@@ -76,7 +76,7 @@ class MediaStream(AdditionalDataHolder, BackedModel, Parsable):
76
76
  stream_direction: Optional[MediaStreamDirection] = None
77
77
  # Unique identifier for the stream.
78
78
  stream_id: Optional[str] = None
79
- # Codec name used to encode video for transmission on the network. Possible values are: unknown, invalid, av1, h263, h264, h264s, h264uc, h265, rtvc1, rtVideo, xrtvc1, unknownFutureValue.
79
+ # Codec name used to encode video for transmission on the network. The possible values are: unknown, invalid, av1, h263, h264, h264s, h264uc, h265, rtvc1, rtVideo, xrtvc1, unknownFutureValue.
80
80
  video_codec: Optional[VideoCodec] = None
81
81
  # True if the media stream bypassed the Mediation Server and went straight between client and PSTN Gateway/PBX, false otherwise.
82
82
  was_media_bypassed: Optional[bool] = None
@@ -26,7 +26,7 @@ class Session(Entity, Parsable):
26
26
  failure_info: Optional[FailureInfo] = None
27
27
  # Specifies whether the session is a test.
28
28
  is_test: Optional[bool] = None
29
- # List of modalities present in the session. Possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue.
29
+ # List of modalities present in the session. The possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue.
30
30
  modalities: Optional[list[Modality]] = None
31
31
  # The OdataType property
32
32
  odata_type: Optional[str] = None
@@ -15,7 +15,7 @@ from .event_message_detail import EventMessageDetail
15
15
  class CallStartedEventMessageDetail(EventMessageDetail, Parsable):
16
16
  # The OdataType property
17
17
  odata_type: Optional[str] = "#microsoft.graph.callStartedEventMessageDetail"
18
- # Represents the call event type. Possible values are: call, meeting, screenShare, unknownFutureValue.
18
+ # Represents the call event type. The possible values are: call, meeting, screenShare, unknownFutureValue.
19
19
  call_event_type: Optional[TeamworkCallEventType] = None
20
20
  # Unique identifier of the call.
21
21
  call_id: Optional[str] = None
@@ -16,11 +16,11 @@ class CheckInClaim(AdditionalDataHolder, BackedModel, Parsable):
16
16
 
17
17
  # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
18
18
  additional_data: dict[str, Any] = field(default_factory=dict)
19
- # The calendarEventId property
19
+ # The unique identifier for an Outlook calendar event associated with the checkInClaim object. For more information, see the iCalUId property in event.
20
20
  calendar_event_id: Optional[str] = None
21
21
  # The checkInMethod property
22
22
  check_in_method: Optional[CheckInMethod] = None
23
- # The createdDateTime property
23
+ # The date and time when the checkInClaim object was created. 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.
24
24
  created_date_time: Optional[datetime.datetime] = None
25
25
  # The OdataType property
26
26
  odata_type: Optional[str] = None
@@ -14,7 +14,7 @@ from .conditional_access_session_control import ConditionalAccessSessionControl
14
14
  class CloudAppSecuritySessionControl(ConditionalAccessSessionControl, Parsable):
15
15
  # The OdataType property
16
16
  odata_type: Optional[str] = "#microsoft.graph.cloudAppSecuritySessionControl"
17
- # Possible values are: mcasConfigured, monitorOnly, blockDownloads, unknownFutureValue. For more information, see Deploy Conditional Access App Control for featured apps.
17
+ # The possible values are: mcasConfigured, monitorOnly, blockDownloads, unknownFutureValue. For more information, see Deploy Conditional Access App Control for featured apps.
18
18
  cloud_app_security_type: Optional[CloudAppSecuritySessionControlType] = None
19
19
 
20
20
  @staticmethod
@@ -6,6 +6,7 @@ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFact
6
6
  from typing import Any, Optional, TYPE_CHECKING, Union
7
7
 
8
8
  if TYPE_CHECKING:
9
+ from .adhoc_call import AdhocCall
9
10
  from .call import Call
10
11
  from .call_records.call_record import CallRecord
11
12
  from .online_meeting import OnlineMeeting
@@ -22,6 +23,8 @@ class CloudCommunications(AdditionalDataHolder, BackedModel, Parsable):
22
23
 
23
24
  # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
24
25
  additional_data: dict[str, Any] = field(default_factory=dict)
26
+ # The adhocCalls property
27
+ adhoc_calls: Optional[list[AdhocCall]] = None
25
28
  # The callRecords property
26
29
  call_records: Optional[list[CallRecord]] = None
27
30
  # The calls property
@@ -51,12 +54,14 @@ class CloudCommunications(AdditionalDataHolder, BackedModel, Parsable):
51
54
  The deserialization information for the current model
52
55
  Returns: dict[str, Callable[[ParseNode], None]]
53
56
  """
57
+ from .adhoc_call import AdhocCall
54
58
  from .call import Call
55
59
  from .call_records.call_record import CallRecord
56
60
  from .online_meeting import OnlineMeeting
57
61
  from .online_meeting_engagement_conversation import OnlineMeetingEngagementConversation
58
62
  from .presence import Presence
59
63
 
64
+ from .adhoc_call import AdhocCall
60
65
  from .call import Call
61
66
  from .call_records.call_record import CallRecord
62
67
  from .online_meeting import OnlineMeeting
@@ -64,6 +69,7 @@ class CloudCommunications(AdditionalDataHolder, BackedModel, Parsable):
64
69
  from .presence import Presence
65
70
 
66
71
  fields: dict[str, Callable[[Any], None]] = {
72
+ "adhocCalls": lambda n : setattr(self, 'adhoc_calls', n.get_collection_of_object_values(AdhocCall)),
67
73
  "callRecords": lambda n : setattr(self, 'call_records', n.get_collection_of_object_values(CallRecord)),
68
74
  "calls": lambda n : setattr(self, 'calls', n.get_collection_of_object_values(Call)),
69
75
  "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()),
@@ -81,6 +87,7 @@ class CloudCommunications(AdditionalDataHolder, BackedModel, Parsable):
81
87
  """
82
88
  if writer is None:
83
89
  raise TypeError("writer cannot be null.")
90
+ writer.write_collection_of_object_values("adhocCalls", self.adhoc_calls)
84
91
  writer.write_collection_of_object_values("callRecords", self.call_records)
85
92
  writer.write_collection_of_object_values("calls", self.calls)
86
93
  writer.write_str_value("@odata.type", self.odata_type)
@@ -35,7 +35,7 @@ class CloudPC(Entity, Parsable):
35
35
  provisioning_policy_id: Optional[str] = None
36
36
  # The provisioning policy that applied during the provisioning of Cloud PCs. Maximum length is 120 characters. Read-only.
37
37
  provisioning_policy_name: Optional[str] = None
38
- # The type of licenses to be used when provisioning Cloud PCs using this policy. Possible values are: dedicated, shared, unknownFutureValue. The default value is dedicated.
38
+ # The type of licenses to be used when provisioning Cloud PCs using this policy. The possible values are: dedicated, shared, unknownFutureValue. The default value is dedicated.
39
39
  provisioning_type: Optional[CloudPcProvisioningType] = None
40
40
  # The service plan ID for the Cloud PC that consists of 32 characters in a GUID format. For more information about service plans, see Product names and service plan identifiers for licensing. Read-only.
41
41
  service_plan_id: Optional[str] = None
@@ -17,7 +17,7 @@ from .entity import Entity
17
17
  class CloudPcDeviceImage(Entity, Parsable):
18
18
  # The display name of the associated device image. The device image display name and the version are used to uniquely identify the Cloud PC device image. Read-only.
19
19
  display_name: Optional[str] = None
20
- # The error code of the status of the image that indicates why the upload failed, if applicable. Possible values are: internalServerError, sourceImageNotFound, osVersionNotSupported, sourceImageInvalid, sourceImageNotGeneralized, unknownFutureValue, vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Read-only.
20
+ # The error code of the status of the image that indicates why the upload failed, if applicable. The possible values are: internalServerError, sourceImageNotFound, osVersionNotSupported, sourceImageInvalid, sourceImageNotGeneralized, unknownFutureValue, vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Read-only.
21
21
  error_code: Optional[CloudPcDeviceImageErrorCode] = None
22
22
  # The date when the image became unavailable. Read-only.
23
23
  expiration_date: Optional[datetime.date] = None
@@ -29,11 +29,11 @@ class CloudPcDeviceImage(Entity, Parsable):
29
29
  operating_system: Optional[str] = None
30
30
  # The OS build version of the image. For example, 1909. Read-only.
31
31
  os_build_number: Optional[str] = None
32
- # The OS status of this image. Possible values are: supported, supportedWithWarning, unknown, unknownFutureValue. The default value is unknown. Read-only.
32
+ # The OS status of this image. The possible values are: supported, supportedWithWarning, unknown, unknownFutureValue. The default value is unknown. Read-only.
33
33
  os_status: Optional[CloudPcDeviceImageOsStatus] = None
34
34
  # The unique identifier (ID) of the source image resource on Azure. The required ID format is: '/subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}'. Read-only.
35
35
  source_image_resource_id: Optional[str] = None
36
- # The status of the image on the Cloud PC. Possible values are: pending, ready, failed, unknownFutureValue. Read-only.
36
+ # The status of the image on the Cloud PC. The possible values are: pending, ready, failed, unknownFutureValue. Read-only.
37
37
  status: Optional[CloudPcDeviceImageStatus] = None
38
38
  # The image version. For example, 0.0.1 and 1.5.13. Read-only.
39
39
  version: Optional[str] = None
@@ -16,13 +16,13 @@ class CloudPcDomainJoinConfiguration(AdditionalDataHolder, BackedModel, Parsable
16
16
 
17
17
  # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
18
18
  additional_data: dict[str, Any] = field(default_factory=dict)
19
- # Specifies the method by which the provisioned Cloud PC joins Microsoft Entra ID. If you choose the hybridAzureADJoin type, only provide a value for the onPremisesConnectionId property and leave the regionName property empty. If you choose the azureADJoin type, provide a value for either the onPremisesConnectionId or the regionName property. Possible values are: azureADJoin, hybridAzureADJoin, unknownFutureValue.
19
+ # Specifies the method by which the provisioned Cloud PC joins Microsoft Entra ID. If you choose the hybridAzureADJoin type, only provide a value for the onPremisesConnectionId property and leave the regionName property empty. If you choose the azureADJoin type, provide a value for either the onPremisesConnectionId or the regionName property. The possible values are: azureADJoin, hybridAzureADJoin, unknownFutureValue.
20
20
  domain_join_type: Optional[CloudPcDomainJoinType] = None
21
21
  # The OdataType property
22
22
  odata_type: Optional[str] = None
23
23
  # The Azure network connection ID that matches the virtual network IT admins want the provisioning policy to use when they create Cloud PCs. You can use this property in both domain join types: Azure AD joined or Hybrid Microsoft Entra joined. If you enter an onPremisesConnectionId, leave the regionName property empty.
24
24
  on_premises_connection_id: Optional[str] = None
25
- # The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. Possible values are: default, australia, canada, usCentral, usEast, usWest, france, germany, europeUnion, unitedKingdom, japan, asia, india, southAmerica, euap, usGovernment, usGovernmentDOD, unknownFutureValue, norway, switzerland, southKorea. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: norway, switzerland, southKorea. Read-only.
25
+ # The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. The possible values are: default, australia, canada, usCentral, usEast, usWest, france, germany, europeUnion, unitedKingdom, japan, asia, india, southAmerica, euap, usGovernment, usGovernmentDOD, unknownFutureValue, norway, switzerland, southKorea. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: norway, switzerland, southKorea. Read-only.
26
26
  region_group: Optional[CloudPcRegionGroup] = None
27
27
  # The supported Azure region where the IT admin wants the provisioning policy to create Cloud PCs. Within this region, the Windows 365 service creates and manages the underlying virtual network. This option is available only when the IT admin selects Microsoft Entra joined as the domain join type. If you enter a regionName, leave the onPremisesConnectionId property empty.
28
28
  region_name: Optional[str] = None
@@ -31,7 +31,7 @@ class CloudPcGalleryImage(Entity, Parsable):
31
31
  sku_name: Optional[str] = None
32
32
  # The date when the Cloud PC image is available for provisioning new Cloud PCs. For example, 2022-09-20. Read-only.
33
33
  start_date: Optional[datetime.date] = None
34
- # The status of the gallery image on the Cloud PC. Possible values are: supported, supportedWithWarning, notSupported, unknownFutureValue. The default value is supported. Read-only.
34
+ # The status of the gallery image on the Cloud PC. The possible values are: supported, supportedWithWarning, notSupported, unknownFutureValue. The default value is supported. Read-only.
35
35
  status: Optional[CloudPcGalleryImageStatus] = None
36
36
 
37
37
  @staticmethod
@@ -0,0 +1,73 @@
1
+ from __future__ import annotations
2
+ from collections.abc import Callable
3
+ from dataclasses import dataclass, field
4
+ from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
5
+ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton
6
+ from typing import Any, Optional, TYPE_CHECKING, Union
7
+
8
+ if TYPE_CHECKING:
9
+ from .windows365_switch_compatibility_failure_reason_type import Windows365SwitchCompatibilityFailureReasonType
10
+
11
+ @dataclass
12
+ class CloudPcLaunchDetail(AdditionalDataHolder, BackedModel, Parsable):
13
+ # Stores model information.
14
+ backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False)
15
+
16
+ # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
17
+ additional_data: dict[str, Any] = field(default_factory=dict)
18
+ # The unique identifier of the Cloud PC.
19
+ cloud_pc_id: Optional[str] = None
20
+ # The connect URL of the Cloud PC.
21
+ cloud_pc_launch_url: Optional[str] = None
22
+ # The OdataType property
23
+ odata_type: Optional[str] = None
24
+ # Indicates the reason the Cloud PC isn't compatible with Windows 365 Switch. Possible values are: osVersionNotSupported, hardwareNotSupported, unknownFutureValue. osVersionNotSupported indicates that the user needs to update their Cloud PC operating system version. hardwareNotSupported indicates that the Cloud PC needs more CPUs or RAM to support the functionality.
25
+ windows365_switch_compatibility_failure_reason_type: Optional[Windows365SwitchCompatibilityFailureReasonType] = None
26
+ # Indicates whether the Cloud PC supports switch functionality. If the value is true, it supports switch functionality; otherwise, false.
27
+ windows365_switch_compatible: Optional[bool] = None
28
+
29
+ @staticmethod
30
+ def create_from_discriminator_value(parse_node: ParseNode) -> CloudPcLaunchDetail:
31
+ """
32
+ Creates a new instance of the appropriate class based on discriminator value
33
+ param parse_node: The parse node to use to read the discriminator value and create the object
34
+ Returns: CloudPcLaunchDetail
35
+ """
36
+ if parse_node is None:
37
+ raise TypeError("parse_node cannot be null.")
38
+ return CloudPcLaunchDetail()
39
+
40
+ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
41
+ """
42
+ The deserialization information for the current model
43
+ Returns: dict[str, Callable[[ParseNode], None]]
44
+ """
45
+ from .windows365_switch_compatibility_failure_reason_type import Windows365SwitchCompatibilityFailureReasonType
46
+
47
+ from .windows365_switch_compatibility_failure_reason_type import Windows365SwitchCompatibilityFailureReasonType
48
+
49
+ fields: dict[str, Callable[[Any], None]] = {
50
+ "cloudPcId": lambda n : setattr(self, 'cloud_pc_id', n.get_str_value()),
51
+ "cloudPcLaunchUrl": lambda n : setattr(self, 'cloud_pc_launch_url', n.get_str_value()),
52
+ "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()),
53
+ "windows365SwitchCompatibilityFailureReasonType": lambda n : setattr(self, 'windows365_switch_compatibility_failure_reason_type', n.get_enum_value(Windows365SwitchCompatibilityFailureReasonType)),
54
+ "windows365SwitchCompatible": lambda n : setattr(self, 'windows365_switch_compatible', n.get_bool_value()),
55
+ }
56
+ return fields
57
+
58
+ def serialize(self,writer: SerializationWriter) -> None:
59
+ """
60
+ Serializes information the current object
61
+ param writer: Serialization writer to use to serialize this model
62
+ Returns: None
63
+ """
64
+ if writer is None:
65
+ raise TypeError("writer cannot be null.")
66
+ writer.write_str_value("cloudPcId", self.cloud_pc_id)
67
+ writer.write_str_value("cloudPcLaunchUrl", self.cloud_pc_launch_url)
68
+ writer.write_str_value("@odata.type", self.odata_type)
69
+ writer.write_enum_value("windows365SwitchCompatibilityFailureReasonType", self.windows365_switch_compatibility_failure_reason_type)
70
+ writer.write_bool_value("windows365SwitchCompatible", self.windows365_switch_compatible)
71
+ writer.write_additional_data_value(self.additional_data)
72
+
73
+
@@ -25,7 +25,7 @@ class CloudPcOnPremisesConnectionHealthCheck(AdditionalDataHolder, BackedModel,
25
25
  display_name: Optional[str] = None
26
26
  # The value cannot be modified and is automatically populated when the health check ends. The Timestamp type represents date and time information using ISO 8601 format and is in Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2024 would look like this: '2024-01-01T00:00:00Z'. Returned by default. Read-only.
27
27
  end_date_time: Optional[datetime.datetime] = None
28
- # The type of error that occurred during this health check. Possible values are: endpointConnectivityCheckCloudPcUrlNotAllowListed, endpointConnectivityCheckWVDUrlNotAllowListed, etc. (The all possible values can refer to cloudPcOnPremisesConnectionHealthCheckErrorType) Read-Only.
28
+ # The type of error that occurred during this health check. The possible values are: endpointConnectivityCheckCloudPcUrlNotAllowListed, endpointConnectivityCheckWVDUrlNotAllowListed, etc. (The all possible values can refer to cloudPcOnPremisesConnectionHealthCheckErrorType) Read-Only.
29
29
  error_type: Optional[CloudPcOnPremisesConnectionHealthCheckErrorType] = None
30
30
  # The OdataType property
31
31
  odata_type: Optional[str] = None
@@ -0,0 +1,7 @@
1
+ from enum import Enum
2
+
3
+ class CloudPcOperatingSystem(str, Enum):
4
+ Windows10 = "windows10",
5
+ Windows11 = "windows11",
6
+ UnknownFutureValue = "unknownFutureValue",
7
+
@@ -50,7 +50,7 @@ class CloudPcProvisioningPolicy(Entity, Parsable):
50
50
  microsoft_managed_desktop: Optional[MicrosoftManagedDesktop] = None
51
51
  # The OdataType property
52
52
  odata_type: Optional[str] = None
53
- # Specifies the type of license used when provisioning Cloud PCs using this policy. By default, the license type is dedicated if the provisioningType isn't specified when you create the cloudPcProvisioningPolicy. You can't change this property after the cloudPcProvisioningPolicy was created. Possible values are: dedicated, shared, unknownFutureValue.
53
+ # Specifies the type of license used when provisioning Cloud PCs using this policy. By default, the license type is dedicated if the provisioningType isn't specified when you create the cloudPcProvisioningPolicy. You can't change this property after the cloudPcProvisioningPolicy was created. The possible values are: dedicated, shared, unknownFutureValue.
54
54
  provisioning_type: Optional[CloudPcProvisioningType] = None
55
55
  # Indicates a specific Windows setting to configure during the creation of Cloud PCs for this provisioning policy. Supports $select.
56
56
  windows_setting: Optional[CloudPcWindowsSetting] = None
@@ -0,0 +1,6 @@
1
+ from enum import Enum
2
+
3
+ class CloudPcRecommendationReportType(str, Enum):
4
+ CloudPcUsageCategoryReport = "cloudPcUsageCategoryReport",
5
+ UnknownFutureValue = "unknownFutureValue",
6
+
@@ -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 .entity import Entity
9
+
10
+ from .entity import Entity
11
+
12
+ @dataclass
13
+ class CloudPcReport(Entity, Parsable):
14
+ # The OdataType property
15
+ odata_type: Optional[str] = None
16
+
17
+ @staticmethod
18
+ def create_from_discriminator_value(parse_node: ParseNode) -> CloudPcReport:
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: CloudPcReport
23
+ """
24
+ if parse_node is None:
25
+ raise TypeError("parse_node cannot be null.")
26
+ return CloudPcReport()
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 .entity import Entity
34
+
35
+ from .entity import Entity
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
+
@@ -15,7 +15,7 @@ class CloudPcRestorePointSetting(AdditionalDataHolder, BackedModel, Parsable):
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 time interval in hours to take snapshots (restore points) of a Cloud PC automatically. Possible values are: default, fourHours, sixHours, twelveHours, sixteenHours, twentyFourHours, unknownFutureValue. The default value is default that indicates that the time interval for automatic capturing of restore point snapshots is set to 12 hours.
18
+ # The time interval in hours to take snapshots (restore points) of a Cloud PC automatically. The possible values are: default, fourHours, sixHours, twelveHours, sixteenHours, twentyFourHours, unknownFutureValue. The default value is default that indicates that the time interval for automatic capturing of restore point snapshots is set to 12 hours.
19
19
  frequency_type: Optional[CloudPcRestorePointFrequencyType] = None
20
20
  # The OdataType property
21
21
  odata_type: Optional[str] = None
@@ -0,0 +1,7 @@
1
+ from enum import Enum
2
+
3
+ class CloudPcUserAccountType(str, Enum):
4
+ StandardUser = "standardUser",
5
+ Administrator = "administrator",
6
+ UnknownFutureValue = "unknownFutureValue",
7
+
@@ -23,7 +23,7 @@ class CommunicationsIdentitySet(IdentitySet, Parsable):
23
23
  azure_communication_services_user: Optional[Identity] = None
24
24
  # The encrypted user associated with this action.
25
25
  encrypted: Optional[Identity] = None
26
- # Type of endpoint that the participant uses. Possible values are: default, voicemail, skypeForBusiness, skypeForBusinessVoipPhone, unknownFutureValue.
26
+ # Type of endpoint that the participant uses. The possible values are: default, voicemail, skypeForBusiness, skypeForBusinessVoipPhone, unknownFutureValue.
27
27
  endpoint_type: Optional[EndpointType] = None
28
28
  # The guest user associated with this action.
29
29
  guest: Optional[Identity] = None
@@ -35,7 +35,7 @@ class CompanySubscription(Entity, Parsable):
35
35
  sku_id: Optional[str] = None
36
36
  # The SKU associated with this subscription.
37
37
  sku_part_number: Optional[str] = None
38
- # The status of this subscription. Possible values are: Enabled, Deleted, Suspended, Warning, LockedOut.
38
+ # The status of this subscription. The possible values are: Enabled, Deleted, Suspended, Warning, LockedOut.
39
39
  status: Optional[str] = None
40
40
  # The number of licenses included in this subscription.
41
41
  total_licenses: Optional[int] = None