msgraph-sdk 1.49.0__py3-none-any.whl → 1.51.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- msgraph/_version.py +1 -1
- msgraph/generated/applications/item/federated_identity_credentials/federated_identity_credentials_request_builder.py +5 -5
- msgraph/generated/applications/item/federated_identity_credentials/item/federated_identity_credential_item_request_builder.py +3 -3
- msgraph/generated/applications/item/federated_identity_credentials_with_name/federated_identity_credentials_with_name_request_builder.py +3 -3
- msgraph/generated/chats/item/chat_item_request_builder.py +10 -0
- msgraph/generated/chats/item/remove_all_access_for_user/remove_all_access_for_user_post_request_body.py +57 -0
- msgraph/generated/chats/item/remove_all_access_for_user/remove_all_access_for_user_request_builder.py +87 -0
- msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py +4 -3
- msgraph/generated/kiota-dom-export.txt +1830 -6
- msgraph/generated/kiota-lock.json +1 -1
- msgraph/generated/models/access_review_history_definition.py +1 -1
- msgraph/generated/models/account_target_content.py +1 -1
- msgraph/generated/models/agreement_acceptance.py +1 -1
- msgraph/generated/models/alert.py +1 -1
- msgraph/generated/models/alteration_response.py +1 -1
- msgraph/generated/models/application.py +1 -1
- msgraph/generated/models/applied_conditional_access_policy.py +1 -1
- msgraph/generated/models/assigned_place_mode.py +61 -0
- msgraph/generated/models/attachment_item.py +1 -1
- msgraph/generated/models/attack_simulation_operation.py +1 -1
- msgraph/generated/models/attendance_record.py +1 -1
- msgraph/generated/models/attribute_definition_metadata_entry.py +1 -1
- msgraph/generated/models/authentication_method_configuration.py +1 -1
- msgraph/generated/models/authentication_method_feature_configuration.py +1 -1
- msgraph/generated/models/authorization_policy.py +1 -1
- msgraph/generated/models/availability_item.py +1 -1
- msgraph/generated/models/base_map_feature.py +104 -0
- msgraph/generated/models/bit_locker_removable_drive_policy.py +1 -1
- msgraph/generated/models/building.py +67 -0
- msgraph/generated/models/building_collection_response.py +58 -0
- msgraph/generated/models/building_map.py +71 -0
- msgraph/generated/models/calculated_column.py +2 -2
- msgraph/generated/models/calendar.py +2 -2
- msgraph/generated/models/calendar_permission.py +1 -1
- msgraph/generated/models/call.py +2 -2
- msgraph/generated/models/call_ended_event_message_detail.py +1 -1
- msgraph/generated/models/call_media_state.py +1 -1
- msgraph/generated/models/call_recording_event_message_detail.py +1 -1
- msgraph/generated/models/call_records/call_record.py +1 -1
- msgraph/generated/models/call_records/media_stream.py +2 -2
- msgraph/generated/models/call_records/session.py +1 -1
- msgraph/generated/models/call_started_event_message_detail.py +1 -1
- msgraph/generated/models/channel.py +1 -1
- msgraph/generated/models/check_in_claim.py +2 -2
- msgraph/generated/models/cloud_app_security_session_control.py +1 -1
- msgraph/generated/models/cloud_p_c.py +1 -1
- msgraph/generated/models/cloud_pc_device_image.py +3 -3
- msgraph/generated/models/cloud_pc_domain_join_configuration.py +2 -2
- msgraph/generated/models/cloud_pc_gallery_image.py +1 -1
- msgraph/generated/models/cloud_pc_on_premises_connection_health_check.py +1 -1
- msgraph/generated/models/cloud_pc_provisioning_policy.py +1 -1
- msgraph/generated/models/cloud_pc_restore_point_setting.py +1 -1
- msgraph/generated/models/communications_guest_identity.py +4 -0
- msgraph/generated/models/communications_identity_set.py +1 -1
- msgraph/generated/models/company_subscription.py +1 -1
- msgraph/generated/models/conditional_access_condition_set.py +4 -4
- msgraph/generated/models/conditional_access_external_tenants.py +1 -1
- msgraph/generated/models/conditional_access_platforms.py +2 -2
- msgraph/generated/models/contract.py +1 -1
- msgraph/generated/models/copilot_report_root.py +53 -0
- msgraph/generated/models/custom_training_setting.py +1 -1
- msgraph/generated/models/data_policy_operation.py +1 -1
- msgraph/generated/models/desk.py +71 -0
- msgraph/generated/models/desk_collection_response.py +58 -0
- msgraph/generated/models/device.py +3 -3
- msgraph/generated/models/directory_audit.py +1 -1
- msgraph/generated/models/drop_in_place_mode.py +53 -0
- msgraph/generated/models/education_assignment.py +1 -1
- msgraph/generated/models/education_assignment_defaults.py +2 -2
- msgraph/generated/models/education_class.py +1 -1
- msgraph/generated/models/education_module.py +1 -1
- msgraph/generated/models/education_organization.py +1 -1
- msgraph/generated/models/education_submission.py +1 -1
- msgraph/generated/models/education_user.py +1 -1
- msgraph/generated/models/email_authentication_method_configuration.py +1 -1
- msgraph/generated/models/email_file_assessment_request.py +1 -1
- msgraph/generated/models/end_user_notification.py +3 -3
- msgraph/generated/models/end_user_notification_setting.py +2 -2
- msgraph/generated/models/entity.py +177 -0
- msgraph/generated/models/event.py +3 -3
- msgraph/generated/models/event_message_response.py +1 -1
- msgraph/generated/models/external_connectors/connection_operation.py +1 -1
- msgraph/generated/models/external_connectors/external_connection.py +1 -1
- msgraph/generated/models/external_connectors/identity.py +1 -1
- msgraph/generated/models/external_connectors/property_.py +1 -1
- msgraph/generated/models/fido2_authentication_method.py +1 -1
- msgraph/generated/models/fido2_key_restrictions.py +1 -1
- msgraph/generated/models/file_hash.py +1 -1
- msgraph/generated/models/file_storage_container.py +7 -0
- msgraph/generated/models/filter_operator_schema.py +1 -1
- msgraph/generated/models/fixture_map.py +57 -0
- msgraph/generated/models/fixture_map_collection_response.py +58 -0
- msgraph/generated/models/floor.py +57 -0
- msgraph/generated/models/floor_collection_response.py +58 -0
- msgraph/generated/models/footprint_map.py +53 -0
- msgraph/generated/models/footprint_map_collection_response.py +58 -0
- msgraph/generated/models/group.py +1 -1
- msgraph/generated/models/identity_governance/user_inactivity_trigger.py +57 -0
- msgraph/generated/models/identity_governance/workflow_execution_trigger.py +7 -0
- msgraph/generated/models/initiator.py +1 -1
- msgraph/generated/models/invitation.py +1 -1
- msgraph/generated/models/invitation_redemption_identity_provider_configuration.py +2 -2
- msgraph/generated/models/landing_page.py +2 -2
- msgraph/generated/models/learning_content.py +1 -1
- msgraph/generated/models/learning_course_activity.py +1 -1
- msgraph/generated/models/level_map.py +78 -0
- msgraph/generated/models/level_map_collection_response.py +58 -0
- msgraph/generated/models/login_page.py +2 -2
- msgraph/generated/models/mail_assessment_request.py +1 -1
- msgraph/generated/models/mail_tips.py +1 -1
- msgraph/generated/models/mailbox_details.py +58 -0
- msgraph/generated/models/mailbox_settings.py +2 -2
- msgraph/generated/models/malware_state_for_windows_device.py +2 -2
- msgraph/generated/models/microsoft_custom_training_setting.py +1 -1
- msgraph/generated/models/microsoft_managed_desktop.py +1 -1
- msgraph/generated/models/microsoft_training_assignment_mapping.py +1 -1
- msgraph/generated/models/network_connection.py +3 -3
- msgraph/generated/models/notebook.py +1 -1
- msgraph/generated/models/o_auth_consent_app_detail.py +1 -1
- msgraph/generated/models/object_definition_metadata_entry.py +1 -1
- msgraph/generated/models/object_mapping_metadata_entry.py +1 -1
- msgraph/generated/models/online_meeting_base.py +4 -4
- msgraph/generated/models/online_meeting_restricted.py +2 -2
- msgraph/generated/models/participant_info.py +1 -1
- msgraph/generated/models/partners/billing/operation.py +1 -1
- msgraph/generated/models/payload.py +8 -8
- msgraph/generated/models/persistent_browser_session_control.py +1 -1
- msgraph/generated/models/phone_authentication_method.py +2 -2
- msgraph/generated/models/place.py +54 -3
- msgraph/generated/models/place_mode.py +80 -0
- msgraph/generated/models/planner_plan_container.py +1 -1
- msgraph/generated/models/platform_credential_authentication_method.py +2 -2
- msgraph/generated/models/positive_reinforcement_notification.py +1 -1
- msgraph/generated/models/printer_capabilities.py +2 -2
- msgraph/generated/models/process.py +1 -1
- msgraph/generated/models/provisioning_object_summary.py +1 -1
- msgraph/generated/models/provisioning_status_info.py +1 -1
- msgraph/generated/models/provisioning_step.py +2 -2
- msgraph/generated/models/registry_key_state.py +3 -3
- msgraph/generated/models/remote_desktop_security_configuration.py +1 -1
- msgraph/generated/models/reservable_place_mode.py +53 -0
- msgraph/generated/models/resource_link.py +69 -0
- msgraph/generated/models/resource_link_type.py +6 -0
- msgraph/generated/models/resource_specific_permission_grant.py +1 -1
- msgraph/generated/models/response_status.py +1 -1
- msgraph/generated/models/restore_session_base.py +1 -1
- msgraph/generated/models/retention_label_settings.py +1 -1
- msgraph/generated/models/risk_detection.py +6 -6
- msgraph/generated/models/risk_service_principal_activity.py +1 -1
- msgraph/generated/models/risk_user_activity.py +1 -1
- msgraph/generated/models/risky_service_principal.py +1 -1
- msgraph/generated/models/risky_user.py +4 -4
- msgraph/generated/models/room.py +1 -13
- msgraph/generated/models/room_list.py +7 -0
- msgraph/generated/models/schedule_change_request.py +2 -2
- msgraph/generated/models/search/answer_variant.py +1 -1
- msgraph/generated/models/search/bookmark.py +1 -1
- msgraph/generated/models/search/qna.py +1 -1
- msgraph/generated/models/search_request.py +1 -1
- msgraph/generated/models/section.py +53 -0
- msgraph/generated/models/section_collection_response.py +58 -0
- msgraph/generated/models/section_map.py +57 -0
- msgraph/generated/models/section_map_collection_response.py +58 -0
- msgraph/generated/models/security/account.py +72 -0
- msgraph/generated/models/security/action.py +11 -0
- msgraph/generated/models/security/ai_agent_evidence.py +72 -0
- msgraph/generated/models/security/ai_agent_platform.py +9 -0
- msgraph/generated/models/security/alert.py +4 -4
- msgraph/generated/models/security/alert_evidence.py +7 -0
- msgraph/generated/models/security/case_operation.py +2 -2
- msgraph/generated/models/security/data_source_container.py +1 -1
- msgraph/generated/models/security/ediscovery_add_to_review_set_operation.py +4 -4
- msgraph/generated/models/security/ediscovery_case_settings.py +1 -1
- msgraph/generated/models/security/ediscovery_estimate_operation.py +1 -1
- msgraph/generated/models/security/ediscovery_export_operation.py +2 -2
- msgraph/generated/models/security/ediscovery_review_tag.py +1 -1
- msgraph/generated/models/security/ediscovery_search.py +1 -1
- msgraph/generated/models/security/ediscovery_search_export_operation.py +2 -2
- msgraph/generated/models/security/google_cloud_resource_evidence.py +1 -1
- msgraph/generated/models/security/identity_accounts.py +92 -0
- msgraph/generated/models/security/identity_accounts_collection_response.py +58 -0
- msgraph/generated/models/security/identity_container.py +7 -0
- msgraph/generated/models/security/identity_provider.py +8 -0
- msgraph/generated/models/security/incident.py +2 -2
- msgraph/generated/models/security/invoke_action_result.py +76 -0
- msgraph/generated/models/security/kubernetes_cluster_evidence.py +1 -1
- msgraph/generated/models/security/kubernetes_service_port.py +1 -1
- msgraph/generated/models/security/teams_message_evidence.py +2 -2
- msgraph/generated/models/security/unified_group_source.py +1 -1
- msgraph/generated/models/security/user.py +61 -0
- msgraph/generated/models/security/user_source.py +1 -1
- msgraph/generated/models/security_resource.py +1 -1
- msgraph/generated/models/send_dtmf_tones_operation.py +1 -1
- msgraph/generated/models/service_health_issue_post.py +1 -1
- msgraph/generated/models/service_principal.py +1 -1
- msgraph/generated/models/service_principal_risk_detection.py +2 -2
- msgraph/generated/models/share_point_migration_container_info.py +62 -0
- msgraph/generated/models/share_point_migration_event.py +127 -0
- msgraph/generated/models/share_point_migration_event_collection_response.py +58 -0
- msgraph/generated/models/share_point_migration_finish_manifest_file_upload_event.py +57 -0
- msgraph/generated/models/share_point_migration_job.py +67 -0
- msgraph/generated/models/share_point_migration_job_cancelled_event.py +61 -0
- msgraph/generated/models/share_point_migration_job_collection_response.py +58 -0
- msgraph/generated/models/share_point_migration_job_deleted_event.py +53 -0
- msgraph/generated/models/share_point_migration_job_error_event.py +86 -0
- msgraph/generated/models/share_point_migration_job_error_level.py +9 -0
- msgraph/generated/models/share_point_migration_job_postponed_event.py +70 -0
- msgraph/generated/models/share_point_migration_job_progress_event.py +121 -0
- msgraph/generated/models/share_point_migration_job_queued_event.py +53 -0
- msgraph/generated/models/share_point_migration_job_start_event.py +61 -0
- msgraph/generated/models/share_point_migration_object_type.py +14 -0
- msgraph/generated/models/sharepoint_settings.py +3 -3
- msgraph/generated/models/sign_in.py +2 -2
- msgraph/generated/models/sign_in_frequency_session_control.py +1 -1
- msgraph/generated/models/simulation.py +4 -4
- msgraph/generated/models/simulation_notification.py +1 -1
- msgraph/generated/models/site_collection.py +1 -1
- msgraph/generated/models/subject_rights_request.py +3 -3
- msgraph/generated/models/subject_rights_request_history.py +2 -2
- msgraph/generated/models/subject_rights_request_stage_detail.py +2 -2
- msgraph/generated/models/subscribed_sku.py +2 -2
- msgraph/generated/models/synchronization_metadata_entry.py +1 -1
- msgraph/generated/models/target_resource.py +1 -1
- msgraph/generated/models/team_fun_settings.py +1 -1
- msgraph/generated/models/teams_app_definition.py +1 -1
- msgraph/generated/models/teamwork_activity_topic.py +1 -1
- msgraph/generated/models/teamwork_application_identity.py +1 -1
- msgraph/generated/models/teamwork_conversation_identity.py +1 -1
- msgraph/generated/models/teamwork_user_identity.py +1 -1
- msgraph/generated/models/term_store/group.py +1 -1
- msgraph/generated/models/term_store/relation.py +1 -1
- msgraph/generated/models/threat_assessment_request.py +3 -3
- msgraph/generated/models/threat_assessment_result.py +1 -1
- msgraph/generated/models/time_card.py +1 -1
- msgraph/generated/models/training.py +3 -3
- msgraph/generated/models/training_reminder_notification.py +1 -1
- msgraph/generated/models/training_setting.py +1 -1
- msgraph/generated/models/unit_map.py +57 -0
- msgraph/generated/models/unit_map_collection_response.py +58 -0
- msgraph/generated/models/user_experience_analytics_app_health_app_performance_by_o_s_version.py +2 -2
- msgraph/generated/models/user_experience_analytics_app_health_application_performance.py +2 -2
- msgraph/generated/models/user_experience_analytics_app_health_device_performance_details.py +2 -2
- msgraph/generated/models/user_registration_details.py +2 -2
- msgraph/generated/models/user_registration_feature_summary.py +2 -2
- msgraph/generated/models/user_registration_method_summary.py +2 -2
- msgraph/generated/models/user_security_state.py +3 -3
- msgraph/generated/models/user_training_event_info.py +1 -1
- msgraph/generated/models/user_training_status_info.py +1 -1
- msgraph/generated/models/virtual_event_townhall.py +1 -1
- msgraph/generated/models/virtual_event_webinar.py +1 -1
- msgraph/generated/models/win32_lob_app.py +2 -2
- msgraph/generated/models/win32_lob_app_power_shell_script_rule.py +1 -1
- msgraph/generated/models/windows_device_malware_state.py +5 -5
- msgraph/generated/models/windows_hello_for_business_authentication_method.py +1 -1
- msgraph/generated/models/windows_malware_information.py +2 -2
- msgraph/generated/models/windows_protection_state.py +2 -2
- msgraph/generated/models/windows_update_for_business_configuration.py +2 -2
- msgraph/generated/models/workbook_application.py +1 -1
- msgraph/generated/models/workbook_named_item.py +1 -1
- msgraph/generated/models/workbook_range_format.py +2 -2
- msgraph/generated/models/workbook_table.py +1 -1
- msgraph/generated/models/workforce_integration.py +2 -2
- msgraph/generated/models/workforce_integration_encryption.py +1 -1
- msgraph/generated/models/workspace.py +76 -0
- msgraph/generated/models/workspace_collection_response.py +58 -0
- msgraph/generated/places/graph_building/count/count_request_builder.py +104 -0
- msgraph/generated/places/graph_building/graph_building_request_builder.py +148 -0
- msgraph/generated/places/graph_desk/count/count_request_builder.py +104 -0
- msgraph/generated/places/graph_desk/graph_desk_request_builder.py +148 -0
- msgraph/generated/places/graph_floor/count/count_request_builder.py +104 -0
- msgraph/generated/places/graph_floor/graph_floor_request_builder.py +148 -0
- msgraph/generated/places/graph_room/graph_room_request_builder.py +3 -3
- msgraph/generated/places/graph_section/count/count_request_builder.py +104 -0
- msgraph/generated/places/graph_section/graph_section_request_builder.py +148 -0
- msgraph/generated/places/graph_workspace/count/count_request_builder.py +104 -0
- msgraph/generated/places/graph_workspace/graph_workspace_request_builder.py +148 -0
- msgraph/generated/places/item/check_ins/check_ins_request_builder.py +6 -5
- msgraph/generated/places/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +4 -3
- msgraph/generated/places/item/descendants/descendants_get_response.py +58 -0
- msgraph/generated/places/item/descendants/descendants_request_builder.py +137 -0
- msgraph/generated/places/item/graph_building/check_ins/check_ins_request_builder.py +208 -0
- msgraph/generated/places/item/graph_building/check_ins/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_building/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_building/graph_building_request_builder.py +128 -0
- msgraph/generated/places/item/graph_building/map/footprints/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_building/map/footprints/footprints_request_builder.py +209 -0
- msgraph/generated/places/item/graph_building/map/footprints/item/footprint_map_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_building/map/levels/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_building/map/levels/item/fixtures/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_building/map/levels/item/fixtures/fixtures_request_builder.py +209 -0
- msgraph/generated/places/item/graph_building/map/levels/item/fixtures/item/fixture_map_item_request_builder.py +190 -0
- msgraph/generated/places/item/graph_building/map/levels/item/level_map_item_request_builder.py +218 -0
- msgraph/generated/places/item/graph_building/map/levels/item/sections/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_building/map/levels/item/sections/item/section_map_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_building/map/levels/item/sections/sections_request_builder.py +209 -0
- msgraph/generated/places/item/graph_building/map/levels/item/units/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_building/map/levels/item/units/item/unit_map_item_request_builder.py +190 -0
- msgraph/generated/places/item/graph_building/map/levels/item/units/units_request_builder.py +209 -0
- msgraph/generated/places/item/graph_building/map/levels/levels_request_builder.py +209 -0
- msgraph/generated/places/item/graph_building/map/map_request_builder.py +210 -0
- msgraph/generated/places/item/graph_desk/check_ins/check_ins_request_builder.py +208 -0
- msgraph/generated/places/item/graph_desk/check_ins/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_desk/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_desk/graph_desk_request_builder.py +118 -0
- msgraph/generated/places/item/graph_floor/check_ins/check_ins_request_builder.py +208 -0
- msgraph/generated/places/item/graph_floor/check_ins/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_floor/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_floor/graph_floor_request_builder.py +118 -0
- msgraph/generated/places/item/graph_room/check_ins/check_ins_request_builder.py +3 -3
- msgraph/generated/places/item/graph_room/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
- msgraph/generated/places/item/graph_room/graph_room_request_builder.py +3 -3
- msgraph/generated/places/item/graph_room_list/check_ins/check_ins_request_builder.py +3 -3
- msgraph/generated/places/item/graph_room_list/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
- msgraph/generated/places/item/graph_room_list/graph_room_list_request_builder.py +10 -0
- msgraph/generated/places/item/graph_room_list/rooms/item/check_ins/check_ins_request_builder.py +3 -3
- msgraph/generated/places/item/graph_room_list/rooms/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +3 -3
- msgraph/generated/places/item/graph_room_list/workspaces/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_room_list/workspaces/item/check_ins/check_ins_request_builder.py +208 -0
- msgraph/generated/places/item/graph_room_list/workspaces/item/check_ins/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_room_list/workspaces/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_room_list/workspaces/item/workspace_item_request_builder.py +198 -0
- msgraph/generated/places/item/graph_room_list/workspaces/workspaces_request_builder.py +208 -0
- msgraph/generated/places/item/graph_section/check_ins/check_ins_request_builder.py +208 -0
- msgraph/generated/places/item/graph_section/check_ins/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_section/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_section/graph_section_request_builder.py +118 -0
- msgraph/generated/places/item/graph_workspace/check_ins/check_ins_request_builder.py +208 -0
- msgraph/generated/places/item/graph_workspace/check_ins/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_workspace/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_workspace/graph_workspace_request_builder.py +118 -0
- msgraph/generated/places/item/place_item_request_builder.py +65 -4
- msgraph/generated/places/places_request_builder.py +53 -2
- msgraph/generated/security/identities/identities_request_builder.py +10 -0
- msgraph/generated/security/identities/identity_accounts/count/count_request_builder.py +104 -0
- msgraph/generated/security/identities/identity_accounts/identity_accounts_request_builder.py +209 -0
- msgraph/generated/security/identities/identity_accounts/item/identity_accounts_item_request_builder.py +199 -0
- msgraph/generated/security/identities/identity_accounts/item/microsoft_graph_security_invoke_action/invoke_action_post_request_body.py +68 -0
- msgraph/generated/security/identities/identity_accounts/item/microsoft_graph_security_invoke_action/microsoft_graph_security_invoke_action_request_builder.py +90 -0
- msgraph/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/sessions_request_builder.py +3 -3
- msgraph/generated/storage/file_storage/containers/item/file_storage_container_item_request_builder.py +20 -0
- msgraph/generated/storage/file_storage/containers/item/migration_jobs/count/count_request_builder.py +104 -0
- msgraph/generated/storage/file_storage/containers/item/migration_jobs/item/progress_events/count/count_request_builder.py +104 -0
- msgraph/generated/storage/file_storage/containers/item/migration_jobs/item/progress_events/item/share_point_migration_event_item_request_builder.py +188 -0
- msgraph/generated/storage/file_storage/containers/item/migration_jobs/item/progress_events/progress_events_request_builder.py +208 -0
- msgraph/generated/storage/file_storage/containers/item/migration_jobs/item/share_point_migration_job_item_request_builder.py +198 -0
- msgraph/generated/storage/file_storage/containers/item/migration_jobs/migration_jobs_request_builder.py +208 -0
- msgraph/generated/storage/file_storage/containers/item/provision_migration_containers/provision_migration_containers_request_builder.py +81 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/file_storage_container_item_request_builder.py +20 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/count/count_request_builder.py +104 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/item/progress_events/count/count_request_builder.py +104 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/item/progress_events/item/share_point_migration_event_item_request_builder.py +188 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/item/progress_events/progress_events_request_builder.py +208 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/item/share_point_migration_job_item_request_builder.py +198 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/migration_jobs_request_builder.py +208 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/provision_migration_containers/provision_migration_containers_request_builder.py +81 -0
- msgraph/generated/users/item/chats/item/chat_item_request_builder.py +10 -0
- msgraph/generated/users/item/chats/item/remove_all_access_for_user/remove_all_access_for_user_post_request_body.py +57 -0
- msgraph/generated/users/item/chats/item/remove_all_access_for_user/remove_all_access_for_user_request_builder.py +87 -0
- msgraph/generated/users/item/online_meetings/item/recordings/item/call_recording_item_request_builder.py +3 -3
- msgraph/generated/users/item/online_meetings/item/recordings/recordings_request_builder.py +3 -3
- msgraph/generated/users/item/online_meetings/item/transcripts/item/call_transcript_item_request_builder.py +3 -3
- msgraph/generated/users/item/online_meetings/item/transcripts/item/content/content_request_builder.py +2 -2
- msgraph/generated/users/item/online_meetings/item/transcripts/item/metadata_content/metadata_content_request_builder.py +2 -2
- msgraph/generated/users/item/online_meetings/item/transcripts/transcripts_request_builder.py +3 -3
- {msgraph_sdk-1.49.0.dist-info → msgraph_sdk-1.51.0.dist-info}/METADATA +1 -1
- {msgraph_sdk-1.49.0.dist-info → msgraph_sdk-1.51.0.dist-info}/RECORD +368 -236
- {msgraph_sdk-1.49.0.dist-info → msgraph_sdk-1.51.0.dist-info}/WHEEL +0 -0
- {msgraph_sdk-1.49.0.dist-info → msgraph_sdk-1.51.0.dist-info}/licenses/LICENSE +0 -0
msgraph/generated/models/room.py
CHANGED
|
@@ -16,7 +16,7 @@ class Room(Place, Parsable):
|
|
|
16
16
|
odata_type: Optional[str] = "#microsoft.graph.room"
|
|
17
17
|
# Specifies the name of the audio device in the room.
|
|
18
18
|
audio_device_name: Optional[str] = None
|
|
19
|
-
# Type of room. Possible values are standard,
|
|
19
|
+
# Type of room. Possible values are: unknown, standard, reserved.
|
|
20
20
|
booking_type: Optional[BookingType] = None
|
|
21
21
|
# Specifies the building name or building number that the room is in.
|
|
22
22
|
building: Optional[str] = None
|
|
@@ -30,14 +30,8 @@ class Room(Place, Parsable):
|
|
|
30
30
|
floor_label: Optional[str] = None
|
|
31
31
|
# Specifies the floor number that the room is on.
|
|
32
32
|
floor_number: Optional[int] = None
|
|
33
|
-
# Specifies whether the room is wheelchair accessible.
|
|
34
|
-
is_wheel_chair_accessible: Optional[bool] = None
|
|
35
|
-
# Specifies a descriptive label for the room, for example, a number or name.
|
|
36
|
-
label: Optional[str] = None
|
|
37
33
|
# Specifies a nickname for the room, for example, 'conf room'.
|
|
38
34
|
nickname: Optional[str] = None
|
|
39
|
-
# Specifies other features of the room, for example, details like the type of view or furniture type.
|
|
40
|
-
tags: Optional[list[str]] = None
|
|
41
35
|
# Specifies the name of the video device in the room.
|
|
42
36
|
video_device_name: Optional[str] = None
|
|
43
37
|
|
|
@@ -72,10 +66,7 @@ class Room(Place, Parsable):
|
|
|
72
66
|
"emailAddress": lambda n : setattr(self, 'email_address', n.get_str_value()),
|
|
73
67
|
"floorLabel": lambda n : setattr(self, 'floor_label', n.get_str_value()),
|
|
74
68
|
"floorNumber": lambda n : setattr(self, 'floor_number', n.get_int_value()),
|
|
75
|
-
"isWheelChairAccessible": lambda n : setattr(self, 'is_wheel_chair_accessible', n.get_bool_value()),
|
|
76
|
-
"label": lambda n : setattr(self, 'label', n.get_str_value()),
|
|
77
69
|
"nickname": lambda n : setattr(self, 'nickname', n.get_str_value()),
|
|
78
|
-
"tags": lambda n : setattr(self, 'tags', n.get_collection_of_primitive_values(str)),
|
|
79
70
|
"videoDeviceName": lambda n : setattr(self, 'video_device_name', n.get_str_value()),
|
|
80
71
|
}
|
|
81
72
|
super_fields = super().get_field_deserializers()
|
|
@@ -99,10 +90,7 @@ class Room(Place, Parsable):
|
|
|
99
90
|
writer.write_str_value("emailAddress", self.email_address)
|
|
100
91
|
writer.write_str_value("floorLabel", self.floor_label)
|
|
101
92
|
writer.write_int_value("floorNumber", self.floor_number)
|
|
102
|
-
writer.write_bool_value("isWheelChairAccessible", self.is_wheel_chair_accessible)
|
|
103
|
-
writer.write_str_value("label", self.label)
|
|
104
93
|
writer.write_str_value("nickname", self.nickname)
|
|
105
|
-
writer.write_collection_of_primitive_values("tags", self.tags)
|
|
106
94
|
writer.write_str_value("videoDeviceName", self.video_device_name)
|
|
107
95
|
|
|
108
96
|
|
|
@@ -7,6 +7,7 @@ from typing import Any, Optional, TYPE_CHECKING, Union
|
|
|
7
7
|
if TYPE_CHECKING:
|
|
8
8
|
from .place import Place
|
|
9
9
|
from .room import Room
|
|
10
|
+
from .workspace import Workspace
|
|
10
11
|
|
|
11
12
|
from .place import Place
|
|
12
13
|
|
|
@@ -18,6 +19,8 @@ class RoomList(Place, Parsable):
|
|
|
18
19
|
email_address: Optional[str] = None
|
|
19
20
|
# The rooms property
|
|
20
21
|
rooms: Optional[list[Room]] = None
|
|
22
|
+
# The workspaces property
|
|
23
|
+
workspaces: Optional[list[Workspace]] = None
|
|
21
24
|
|
|
22
25
|
@staticmethod
|
|
23
26
|
def create_from_discriminator_value(parse_node: ParseNode) -> RoomList:
|
|
@@ -37,13 +40,16 @@ class RoomList(Place, Parsable):
|
|
|
37
40
|
"""
|
|
38
41
|
from .place import Place
|
|
39
42
|
from .room import Room
|
|
43
|
+
from .workspace import Workspace
|
|
40
44
|
|
|
41
45
|
from .place import Place
|
|
42
46
|
from .room import Room
|
|
47
|
+
from .workspace import Workspace
|
|
43
48
|
|
|
44
49
|
fields: dict[str, Callable[[Any], None]] = {
|
|
45
50
|
"emailAddress": lambda n : setattr(self, 'email_address', n.get_str_value()),
|
|
46
51
|
"rooms": lambda n : setattr(self, 'rooms', n.get_collection_of_object_values(Room)),
|
|
52
|
+
"workspaces": lambda n : setattr(self, 'workspaces', n.get_collection_of_object_values(Workspace)),
|
|
47
53
|
}
|
|
48
54
|
super_fields = super().get_field_deserializers()
|
|
49
55
|
fields.update(super_fields)
|
|
@@ -60,5 +66,6 @@ class RoomList(Place, Parsable):
|
|
|
60
66
|
super().serialize(writer)
|
|
61
67
|
writer.write_str_value("emailAddress", self.email_address)
|
|
62
68
|
writer.write_collection_of_object_values("rooms", self.rooms)
|
|
69
|
+
writer.write_collection_of_object_values("workspaces", self.workspaces)
|
|
63
70
|
|
|
64
71
|
|
|
@@ -20,7 +20,7 @@ from .change_tracked_entity import ChangeTrackedEntity
|
|
|
20
20
|
class ScheduleChangeRequest(ChangeTrackedEntity, Parsable):
|
|
21
21
|
# The OdataType property
|
|
22
22
|
odata_type: Optional[str] = "#microsoft.graph.scheduleChangeRequest"
|
|
23
|
-
# Indicates who the request is assigned to.
|
|
23
|
+
# Indicates who the request is assigned to. The possible values are: sender, recipient, manager, system, unknownFutureValue.
|
|
24
24
|
assigned_to: Optional[ScheduleChangeRequestActor] = None
|
|
25
25
|
# The date and time when the manager approved or declined the scheduleChangeRequest. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
|
|
26
26
|
manager_action_date_time: Optional[datetime.datetime] = None
|
|
@@ -34,7 +34,7 @@ class ScheduleChangeRequest(ChangeTrackedEntity, Parsable):
|
|
|
34
34
|
sender_message: Optional[str] = None
|
|
35
35
|
# The user ID of the sender of the scheduleChangeRequest.
|
|
36
36
|
sender_user_id: Optional[str] = None
|
|
37
|
-
# The state of the scheduleChangeRequest.
|
|
37
|
+
# The state of the scheduleChangeRequest. The possible values are: pending, approved, declined, unknownFutureValue.
|
|
38
38
|
state: Optional[ScheduleChangeState] = None
|
|
39
39
|
|
|
40
40
|
@staticmethod
|
|
@@ -23,7 +23,7 @@ class AnswerVariant(AdditionalDataHolder, BackedModel, Parsable):
|
|
|
23
23
|
language_tag: Optional[str] = None
|
|
24
24
|
# The OdataType property
|
|
25
25
|
odata_type: Optional[str] = None
|
|
26
|
-
# The device or operating system that can view this answer variation.
|
|
26
|
+
# The device or operating system that can view this answer variation. The possible values are: android, androidForWork, ios, macOS, windowsPhone81, windowsPhone81AndLater, windows10AndLater, androidWorkProfile, unknown, androidASOP, androidMobileApplicationManagement, iOSMobileApplicationManagement, unknownFutureValue.
|
|
27
27
|
platform: Optional[DevicePlatformType] = None
|
|
28
28
|
# The URL link for the answer variation. When users select this answer variation from the search results, they're directed to the specified URL.
|
|
29
29
|
web_url: Optional[str] = None
|
|
@@ -32,7 +32,7 @@ class Bookmark(SearchAnswer, Parsable):
|
|
|
32
32
|
language_tags: Optional[list[str]] = None
|
|
33
33
|
# The OdataType property
|
|
34
34
|
odata_type: Optional[str] = None
|
|
35
|
-
# List of devices and operating systems that are able to view this bookmark.
|
|
35
|
+
# List of devices and operating systems that are able to view this bookmark. The possible values are: android, androidForWork, ios, macOS, windowsPhone81, windowsPhone81AndLater, windows10AndLater, androidWorkProfile, unknown, androidASOP, androidMobileApplicationManagement, iOSMobileApplicationManagement, unknownFutureValue.
|
|
36
36
|
platforms: Optional[list[DevicePlatformType]] = None
|
|
37
37
|
# List of Power Apps associated with this bookmark. If users add existing Power Apps to a bookmark, they can complete tasks directly on the search results page, such as entering vacation time or reporting expenses.
|
|
38
38
|
power_app_ids: Optional[list[str]] = None
|
|
@@ -30,7 +30,7 @@ class Qna(SearchAnswer, Parsable):
|
|
|
30
30
|
language_tags: Optional[list[str]] = None
|
|
31
31
|
# The OdataType property
|
|
32
32
|
odata_type: Optional[str] = None
|
|
33
|
-
# List of devices and operating systems that are able to view this QnA.
|
|
33
|
+
# List of devices and operating systems that are able to view this QnA. The possible values are: android, androidForWork, ios, macOS, windowsPhone81, windowsPhone81AndLater, windows10AndLater, androidWorkProfile, unknown, androidASOP, androidMobileApplicationManagement, iOSMobileApplicationManagement, unknownFutureValue.
|
|
34
34
|
platforms: Optional[list[DevicePlatformType]] = None
|
|
35
35
|
# The state property
|
|
36
36
|
state: Optional[AnswerState] = None
|
|
@@ -32,7 +32,7 @@ class SearchRequest(AdditionalDataHolder, BackedModel, Parsable):
|
|
|
32
32
|
content_sources: Optional[list[str]] = None
|
|
33
33
|
# This triggers hybrid sort for messages : the first 3 messages are the most relevant. This property is only applicable to entityType=message. Optional.
|
|
34
34
|
enable_top_results: Optional[bool] = None
|
|
35
|
-
# One or more types of resources expected in the response.
|
|
35
|
+
# One or more types of resources expected in the response. The possible values are: event, message, driveItem, externalItem, site, list, listItem, drive, chatMessage, person, acronym, bookmark. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: chatMessage, person, acronym, bookmark. See known limitations for those combinations of two or more entity types that are supported in the same search request. Required.
|
|
36
36
|
entity_types: Optional[list[EntityType]] = None
|
|
37
37
|
# Contains the fields to be returned for each resource object specified in entityTypes, allowing customization of the fields returned by default; otherwise, including additional fields such as custom managed properties from SharePoint and OneDrive, or custom fields in externalItem from the content that Microsoft 365 Copilot connectors bring in. The fields property can use the semantic labels applied to properties. For example, if a property is labeled as title, you can retrieve it using the following syntax: label_title. Optional.
|
|
38
38
|
fields: Optional[list[str]] = None
|
|
@@ -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 .place import Place
|
|
9
|
+
|
|
10
|
+
from .place import Place
|
|
11
|
+
|
|
12
|
+
@dataclass
|
|
13
|
+
class Section(Place, Parsable):
|
|
14
|
+
# The OdataType property
|
|
15
|
+
odata_type: Optional[str] = "#microsoft.graph.section"
|
|
16
|
+
|
|
17
|
+
@staticmethod
|
|
18
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> Section:
|
|
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: Section
|
|
23
|
+
"""
|
|
24
|
+
if parse_node is None:
|
|
25
|
+
raise TypeError("parse_node cannot be null.")
|
|
26
|
+
return Section()
|
|
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 .place import Place
|
|
34
|
+
|
|
35
|
+
from .place import Place
|
|
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,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 .section import Section
|
|
10
|
+
|
|
11
|
+
from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
|
|
12
|
+
|
|
13
|
+
@dataclass
|
|
14
|
+
class SectionCollectionResponse(BaseCollectionPaginationCountResponse, Parsable):
|
|
15
|
+
# The value property
|
|
16
|
+
value: Optional[list[Section]] = None
|
|
17
|
+
|
|
18
|
+
@staticmethod
|
|
19
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> SectionCollectionResponse:
|
|
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: SectionCollectionResponse
|
|
24
|
+
"""
|
|
25
|
+
if parse_node is None:
|
|
26
|
+
raise TypeError("parse_node cannot be null.")
|
|
27
|
+
return SectionCollectionResponse()
|
|
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 .section import Section
|
|
36
|
+
|
|
37
|
+
from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
|
|
38
|
+
from .section import Section
|
|
39
|
+
|
|
40
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
41
|
+
"value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(Section)),
|
|
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
|
+
|
|
@@ -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 SectionMap(BaseMapFeature, Parsable):
|
|
14
|
+
# The OdataType property
|
|
15
|
+
odata_type: Optional[str] = "#microsoft.graph.sectionMap"
|
|
16
|
+
# Identifier of the section to which this sectionMap belongs.
|
|
17
|
+
place_id: Optional[str] = None
|
|
18
|
+
|
|
19
|
+
@staticmethod
|
|
20
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> SectionMap:
|
|
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: SectionMap
|
|
25
|
+
"""
|
|
26
|
+
if parse_node is None:
|
|
27
|
+
raise TypeError("parse_node cannot be null.")
|
|
28
|
+
return SectionMap()
|
|
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 .section_map import SectionMap
|
|
10
|
+
|
|
11
|
+
from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
|
|
12
|
+
|
|
13
|
+
@dataclass
|
|
14
|
+
class SectionMapCollectionResponse(BaseCollectionPaginationCountResponse, Parsable):
|
|
15
|
+
# The value property
|
|
16
|
+
value: Optional[list[SectionMap]] = None
|
|
17
|
+
|
|
18
|
+
@staticmethod
|
|
19
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> SectionMapCollectionResponse:
|
|
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: SectionMapCollectionResponse
|
|
24
|
+
"""
|
|
25
|
+
if parse_node is None:
|
|
26
|
+
raise TypeError("parse_node cannot be null.")
|
|
27
|
+
return SectionMapCollectionResponse()
|
|
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 .section_map import SectionMap
|
|
36
|
+
|
|
37
|
+
from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
|
|
38
|
+
from .section_map import SectionMap
|
|
39
|
+
|
|
40
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
41
|
+
"value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(SectionMap)),
|
|
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
|
+
|
|
@@ -0,0 +1,72 @@
|
|
|
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 .action import Action
|
|
10
|
+
from .identity_provider import IdentityProvider
|
|
11
|
+
|
|
12
|
+
@dataclass
|
|
13
|
+
class Account(AdditionalDataHolder, BackedModel, Parsable):
|
|
14
|
+
# Stores model information.
|
|
15
|
+
backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False)
|
|
16
|
+
|
|
17
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
18
|
+
additional_data: dict[str, Any] = field(default_factory=dict)
|
|
19
|
+
# List of the type of action. The possible values are: disable, enable, forcePasswordReset, revokeAllSessions, requireUserToSignInAgain, markUserAsCompromised, unknownFutureValue.
|
|
20
|
+
actions: Optional[list[Action]] = None
|
|
21
|
+
# The account ID.
|
|
22
|
+
identifier: Optional[str] = None
|
|
23
|
+
# The identityProvider property
|
|
24
|
+
identity_provider: Optional[IdentityProvider] = None
|
|
25
|
+
# The OdataType property
|
|
26
|
+
odata_type: Optional[str] = None
|
|
27
|
+
|
|
28
|
+
@staticmethod
|
|
29
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> Account:
|
|
30
|
+
"""
|
|
31
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
32
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
33
|
+
Returns: Account
|
|
34
|
+
"""
|
|
35
|
+
if parse_node is None:
|
|
36
|
+
raise TypeError("parse_node cannot be null.")
|
|
37
|
+
return Account()
|
|
38
|
+
|
|
39
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
40
|
+
"""
|
|
41
|
+
The deserialization information for the current model
|
|
42
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
43
|
+
"""
|
|
44
|
+
from .action import Action
|
|
45
|
+
from .identity_provider import IdentityProvider
|
|
46
|
+
|
|
47
|
+
from .action import Action
|
|
48
|
+
from .identity_provider import IdentityProvider
|
|
49
|
+
|
|
50
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
51
|
+
"actions": lambda n : setattr(self, 'actions', n.get_collection_of_enum_values(Action)),
|
|
52
|
+
"identifier": lambda n : setattr(self, 'identifier', n.get_str_value()),
|
|
53
|
+
"identityProvider": lambda n : setattr(self, 'identity_provider', n.get_enum_value(IdentityProvider)),
|
|
54
|
+
"@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_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_collection_of_enum_values("actions", self.actions)
|
|
67
|
+
writer.write_str_value("identifier", self.identifier)
|
|
68
|
+
writer.write_enum_value("identityProvider", self.identity_provider)
|
|
69
|
+
writer.write_str_value("@odata.type", self.odata_type)
|
|
70
|
+
writer.write_additional_data_value(self.additional_data)
|
|
71
|
+
|
|
72
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
|
|
3
|
+
class Action(str, Enum):
|
|
4
|
+
Disable = "disable",
|
|
5
|
+
Enable = "enable",
|
|
6
|
+
ForcePasswordReset = "forcePasswordReset",
|
|
7
|
+
RevokeAllSessions = "revokeAllSessions",
|
|
8
|
+
RequireUserToSignInAgain = "requireUserToSignInAgain",
|
|
9
|
+
MarkUserAsCompromised = "markUserAsCompromised",
|
|
10
|
+
UnknownFutureValue = "unknownFutureValue",
|
|
11
|
+
|
|
@@ -0,0 +1,72 @@
|
|
|
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 .ai_agent_platform import AiAgentPlatform
|
|
9
|
+
from .alert_evidence import AlertEvidence
|
|
10
|
+
|
|
11
|
+
from .alert_evidence import AlertEvidence
|
|
12
|
+
|
|
13
|
+
@dataclass
|
|
14
|
+
class AiAgentEvidence(AlertEvidence, Parsable):
|
|
15
|
+
# The OdataType property
|
|
16
|
+
odata_type: Optional[str] = "#microsoft.graph.security.aiAgentEvidence"
|
|
17
|
+
# The unique identifier for the AI agent.
|
|
18
|
+
agent_id: Optional[str] = None
|
|
19
|
+
# The display name for the AI agent.
|
|
20
|
+
agent_name: Optional[str] = None
|
|
21
|
+
# Type of the platform the agent runs on. The possible values are: unknown, azureAIFoundry, copilotStudio, copilot, unknownFutureValue.
|
|
22
|
+
hosting_platform_type: Optional[AiAgentPlatform] = None
|
|
23
|
+
# The instructions of the agent.
|
|
24
|
+
instructions: Optional[str] = None
|
|
25
|
+
|
|
26
|
+
@staticmethod
|
|
27
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> AiAgentEvidence:
|
|
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: AiAgentEvidence
|
|
32
|
+
"""
|
|
33
|
+
if parse_node is None:
|
|
34
|
+
raise TypeError("parse_node cannot be null.")
|
|
35
|
+
return AiAgentEvidence()
|
|
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 .ai_agent_platform import AiAgentPlatform
|
|
43
|
+
from .alert_evidence import AlertEvidence
|
|
44
|
+
|
|
45
|
+
from .ai_agent_platform import AiAgentPlatform
|
|
46
|
+
from .alert_evidence import AlertEvidence
|
|
47
|
+
|
|
48
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
49
|
+
"agentId": lambda n : setattr(self, 'agent_id', n.get_str_value()),
|
|
50
|
+
"agentName": lambda n : setattr(self, 'agent_name', n.get_str_value()),
|
|
51
|
+
"hostingPlatformType": lambda n : setattr(self, 'hosting_platform_type', n.get_enum_value(AiAgentPlatform)),
|
|
52
|
+
"instructions": lambda n : setattr(self, 'instructions', n.get_str_value()),
|
|
53
|
+
}
|
|
54
|
+
super_fields = super().get_field_deserializers()
|
|
55
|
+
fields.update(super_fields)
|
|
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
|
+
super().serialize(writer)
|
|
67
|
+
writer.write_str_value("agentId", self.agent_id)
|
|
68
|
+
writer.write_str_value("agentName", self.agent_name)
|
|
69
|
+
writer.write_enum_value("hostingPlatformType", self.hosting_platform_type)
|
|
70
|
+
writer.write_str_value("instructions", self.instructions)
|
|
71
|
+
|
|
72
|
+
|
|
@@ -34,7 +34,7 @@ class Alert(Entity, Parsable):
|
|
|
34
34
|
assigned_to: Optional[str] = None
|
|
35
35
|
# The attack kill-chain category that the alert belongs to. Aligned with the MITRE ATT&CK framework.
|
|
36
36
|
category: Optional[str] = None
|
|
37
|
-
# Specifies whether the alert represents a true threat.
|
|
37
|
+
# Specifies whether the alert represents a true threat. The possible values are: unknown, falsePositive, truePositive, informationalExpectedActivity, unknownFutureValue.
|
|
38
38
|
classification: Optional[AlertClassification] = None
|
|
39
39
|
# Array of comments created by the Security Operations (SecOps) team during the alert management process.
|
|
40
40
|
comments: Optional[list[AlertComment]] = None
|
|
@@ -44,11 +44,11 @@ class Alert(Entity, Parsable):
|
|
|
44
44
|
custom_details: Optional[Dictionary] = None
|
|
45
45
|
# String value describing each alert.
|
|
46
46
|
description: Optional[str] = None
|
|
47
|
-
# Detection technology or sensor that identified the notable component or activity.
|
|
47
|
+
# Detection technology or sensor that identified the notable component or activity. The possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl, microsoftThreatIntelligence, microsoftDefenderForAIServices, securityCopilot. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl, microsoftThreatIntelligence, microsoftDefenderForAIServices, securityCopilot.
|
|
48
48
|
detection_source: Optional[DetectionSource] = None
|
|
49
49
|
# The ID of the detector that triggered the alert.
|
|
50
50
|
detector_id: Optional[str] = None
|
|
51
|
-
# Specifies the result of the investigation, whether the alert represents a true attack and if so, the nature of the attack.
|
|
51
|
+
# Specifies the result of the investigation, whether the alert represents a true attack and if so, the nature of the attack. The possible values are: unknown, apt, malware, securityPersonnel, securityTesting, unwantedSoftware, other, multiStagedAttack, compromisedAccount, phishing, maliciousUserActivity, notMalicious, notEnoughDataToValidate, confirmedUserActivity, lineOfBusinessApplication, unknownFutureValue.
|
|
52
52
|
determination: Optional[AlertDetermination] = None
|
|
53
53
|
# Collection of evidence related to the alert.
|
|
54
54
|
evidence: Optional[list[AlertEvidence]] = None
|
|
@@ -58,7 +58,7 @@ class Alert(Entity, Parsable):
|
|
|
58
58
|
incident_id: Optional[str] = None
|
|
59
59
|
# URL for the incident page in the Microsoft 365 Defender portal.
|
|
60
60
|
incident_web_url: Optional[str] = None
|
|
61
|
-
# Information on the current status of the investigation.
|
|
61
|
+
# Information on the current status of the investigation. The possible values are: unknown, terminated, successfullyRemediated, benign, failed, partiallyRemediated, running, pendingApproval, pendingResource, queued, innerFailure, preexistingAlert, unsupportedOs, unsupportedAlertType, suppressedAlert, partiallyInvestigated, terminatedByUser, terminatedBySystem, unknownFutureValue.
|
|
62
62
|
investigation_state: Optional[InvestigationState] = None
|
|
63
63
|
# The oldest activity associated with the alert.
|
|
64
64
|
last_activity_date_time: Optional[datetime.datetime] = None
|
|
@@ -7,6 +7,7 @@ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFact
|
|
|
7
7
|
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
8
8
|
|
|
9
9
|
if TYPE_CHECKING:
|
|
10
|
+
from .ai_agent_evidence import AiAgentEvidence
|
|
10
11
|
from .amazon_resource_evidence import AmazonResourceEvidence
|
|
11
12
|
from .analyzed_message_evidence import AnalyzedMessageEvidence
|
|
12
13
|
from .azure_resource_evidence import AzureResourceEvidence
|
|
@@ -95,6 +96,10 @@ class AlertEvidence(AdditionalDataHolder, BackedModel, Parsable):
|
|
|
95
96
|
mapping_value = child_node.get_str_value() if child_node else None
|
|
96
97
|
except AttributeError:
|
|
97
98
|
mapping_value = None
|
|
99
|
+
if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.aiAgentEvidence".casefold():
|
|
100
|
+
from .ai_agent_evidence import AiAgentEvidence
|
|
101
|
+
|
|
102
|
+
return AiAgentEvidence()
|
|
98
103
|
if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.amazonResourceEvidence".casefold():
|
|
99
104
|
from .amazon_resource_evidence import AmazonResourceEvidence
|
|
100
105
|
|
|
@@ -286,6 +291,7 @@ class AlertEvidence(AdditionalDataHolder, BackedModel, Parsable):
|
|
|
286
291
|
The deserialization information for the current model
|
|
287
292
|
Returns: dict[str, Callable[[ParseNode], None]]
|
|
288
293
|
"""
|
|
294
|
+
from .ai_agent_evidence import AiAgentEvidence
|
|
289
295
|
from .amazon_resource_evidence import AmazonResourceEvidence
|
|
290
296
|
from .analyzed_message_evidence import AnalyzedMessageEvidence
|
|
291
297
|
from .azure_resource_evidence import AzureResourceEvidence
|
|
@@ -336,6 +342,7 @@ class AlertEvidence(AdditionalDataHolder, BackedModel, Parsable):
|
|
|
336
342
|
from .url_evidence import UrlEvidence
|
|
337
343
|
from .user_evidence import UserEvidence
|
|
338
344
|
|
|
345
|
+
from .ai_agent_evidence import AiAgentEvidence
|
|
339
346
|
from .amazon_resource_evidence import AmazonResourceEvidence
|
|
340
347
|
from .analyzed_message_evidence import AnalyzedMessageEvidence
|
|
341
348
|
from .azure_resource_evidence import AzureResourceEvidence
|
|
@@ -25,7 +25,7 @@ from ..entity import Entity
|
|
|
25
25
|
|
|
26
26
|
@dataclass
|
|
27
27
|
class CaseOperation(Entity, Parsable):
|
|
28
|
-
# The type of action the operation represents.
|
|
28
|
+
# The type of action the operation represents. The possible values are: contentExport, applyTags, convertToPdf, index, estimateStatistics, addToReviewSet, holdUpdate, unknownFutureValue, purgeData, exportReport, exportResult, holdPolicySync. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: purgeData, exportReport, exportResult, holdPolicySync.
|
|
29
29
|
action: Optional[CaseAction] = None
|
|
30
30
|
# The date and time the operation was completed.
|
|
31
31
|
completed_date_time: Optional[datetime.datetime] = None
|
|
@@ -39,7 +39,7 @@ class CaseOperation(Entity, Parsable):
|
|
|
39
39
|
percent_progress: Optional[int] = None
|
|
40
40
|
# Contains success and failure-specific result information.
|
|
41
41
|
result_info: Optional[ResultInfo] = None
|
|
42
|
-
# The status of the case operation.
|
|
42
|
+
# The status of the case operation. The possible values are: notStarted, submissionFailed, running, succeeded, partiallySucceeded, failed, unknownFutureValue.
|
|
43
43
|
status: Optional[CaseOperationStatus] = None
|
|
44
44
|
|
|
45
45
|
@staticmethod
|
|
@@ -28,7 +28,7 @@ class DataSourceContainer(Entity, Parsable):
|
|
|
28
28
|
odata_type: Optional[str] = None
|
|
29
29
|
# Date and time that the dataSourceContainer was released from the case.
|
|
30
30
|
released_date_time: Optional[datetime.datetime] = None
|
|
31
|
-
# Latest status of the dataSourceContainer.
|
|
31
|
+
# Latest status of the dataSourceContainer. The possible values are: Active, Released.
|
|
32
32
|
status: Optional[DataSourceContainerStatus] = None
|
|
33
33
|
|
|
34
34
|
@staticmethod
|