msgraph-sdk 1.48.0__py3-none-any.whl → 1.50.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- msgraph/_version.py +1 -1
- msgraph/generated/applications/item/restore/restore_request_builder.py +2 -2
- 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/contacts/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/contracts/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/devices/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/directory/deleted_items/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/directory_objects/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/directory_role_templates/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/directory_roles/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py +4 -3
- msgraph/generated/drives/item/recent/recent_request_builder.py +3 -3
- msgraph/generated/employee_experience/employee_experience_request_builder.py +10 -0
- msgraph/generated/employee_experience/roles/count/count_request_builder.py +104 -0
- msgraph/generated/employee_experience/roles/item/engagement_role_item_request_builder.py +198 -0
- msgraph/generated/employee_experience/roles/item/members/count/count_request_builder.py +104 -0
- msgraph/generated/employee_experience/roles/item/members/item/engagement_role_member_item_request_builder.py +199 -0
- msgraph/generated/employee_experience/roles/item/members/item/user/mailbox_settings/mailbox_settings_request_builder.py +152 -0
- msgraph/generated/employee_experience/roles/item/members/item/user/service_provisioning_errors/count/count_request_builder.py +104 -0
- msgraph/generated/employee_experience/roles/item/members/item/user/service_provisioning_errors/service_provisioning_errors_request_builder.py +147 -0
- msgraph/generated/employee_experience/roles/item/members/item/user/user_request_builder.py +127 -0
- msgraph/generated/employee_experience/roles/item/members/members_request_builder.py +210 -0
- msgraph/generated/employee_experience/roles/roles_request_builder.py +209 -0
- msgraph/generated/group_setting_templates/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/groups/item/group_item_request_builder.py +2 -2
- msgraph/generated/groups/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/groups_with_unique_name/groups_with_unique_name_request_builder.py +2 -2
- msgraph/generated/identity/risk_prevention/fraud_protection_providers/count/count_request_builder.py +104 -0
- msgraph/generated/identity/risk_prevention/fraud_protection_providers/fraud_protection_providers_request_builder.py +210 -0
- msgraph/generated/identity/risk_prevention/fraud_protection_providers/item/fraud_protection_provider_item_request_builder.py +191 -0
- msgraph/generated/identity/risk_prevention/risk_prevention_request_builder.py +13 -3
- msgraph/generated/identity/risk_prevention/web_application_firewall_providers/item/verify/verify_request_builder.py +3 -2
- msgraph/generated/identity/risk_prevention/web_application_firewall_providers/item/web_application_firewall_provider_item_request_builder.py +10 -7
- msgraph/generated/identity/risk_prevention/web_application_firewall_providers/web_application_firewall_providers_request_builder.py +7 -5
- msgraph/generated/identity/risk_prevention/web_application_firewall_verifications/item/provider/provider_request_builder.py +3 -3
- msgraph/generated/identity/risk_prevention/web_application_firewall_verifications/item/web_application_firewall_verification_model_item_request_builder.py +7 -5
- msgraph/generated/identity/risk_prevention/web_application_firewall_verifications/web_application_firewall_verifications_request_builder.py +4 -3
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_activate_with_scope/activate_with_scope_post_request_body.py +57 -0
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_activate_with_scope/microsoft_graph_identity_governance_activate_with_scope_request_builder.py +87 -0
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/reprocessed_runs/count/count_request_builder.py +104 -0
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/reprocessed_runs/item/run_item_request_builder.py +107 -0
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/reprocessed_runs/reprocessed_runs_request_builder.py +162 -0
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/run_item_request_builder.py +10 -0
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py +104 -0
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py +107 -0
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py +162 -0
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/subject/subject_request_builder.py +3 -3
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/user_processing_result_item_request_builder.py +10 -0
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py +104 -0
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py +107 -0
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py +162 -0
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/subject/subject_request_builder.py +3 -3
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/user_processing_result_item_request_builder.py +10 -0
- msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/workflow_item_request_builder.py +10 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate_with_scope/activate_with_scope_post_request_body.py +57 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate_with_scope/microsoft_graph_identity_governance_activate_with_scope_request_builder.py +87 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/reprocessed_runs/count/count_request_builder.py +104 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/reprocessed_runs/item/run_item_request_builder.py +107 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/reprocessed_runs/reprocessed_runs_request_builder.py +162 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/run_item_request_builder.py +10 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py +104 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py +107 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py +162 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/subject/subject_request_builder.py +3 -3
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/user_processing_result_item_request_builder.py +10 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py +104 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py +107 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py +162 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/subject/subject_request_builder.py +3 -3
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/user_processing_result_item_request_builder.py +10 -0
- msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/workflow_item_request_builder.py +10 -0
- msgraph/generated/kiota-dom-export.txt +3093 -6
- msgraph/generated/kiota-lock.json +1 -1
- msgraph/generated/models/akamai_attack_group_action_model.py +2 -2
- msgraph/generated/models/akamai_custom_rule_model.py +3 -3
- msgraph/generated/models/akamai_rapid_rules_model.py +2 -2
- msgraph/generated/models/akamai_verified_details_model.py +3 -3
- msgraph/generated/models/akamai_web_application_firewall_provider.py +4 -4
- msgraph/generated/models/arkose_fraud_protection_provider.py +69 -0
- msgraph/generated/models/assigned_place_mode.py +61 -0
- msgraph/generated/models/authentication_event_listener.py +11 -0
- msgraph/generated/models/base_map_feature.py +104 -0
- 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/channel.py +1 -1
- msgraph/generated/models/check_in_claim.py +70 -0
- msgraph/generated/models/check_in_claim_collection_response.py +58 -0
- msgraph/generated/models/check_in_method.py +9 -0
- msgraph/generated/models/cloud_flare_rule_model.py +3 -3
- msgraph/generated/models/cloud_flare_ruleset_model.py +3 -3
- msgraph/generated/models/cloud_flare_verified_details_model.py +3 -3
- msgraph/generated/models/cloud_flare_web_application_firewall_provider.py +2 -2
- msgraph/generated/models/communications_guest_identity.py +4 -0
- msgraph/generated/models/copilot_report_root.py +53 -0
- msgraph/generated/models/desk.py +71 -0
- msgraph/generated/models/desk_collection_response.py +58 -0
- 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 +1 -1
- msgraph/generated/models/employee_experience.py +7 -0
- msgraph/generated/models/employee_experience_user.py +7 -0
- msgraph/generated/models/engagement_role.py +67 -0
- msgraph/generated/models/engagement_role_collection_response.py +58 -0
- msgraph/generated/models/engagement_role_member.py +70 -0
- msgraph/generated/models/engagement_role_member_collection_response.py +58 -0
- msgraph/generated/models/entity.py +233 -0
- msgraph/generated/models/external_connectors/property_.py +1 -1
- msgraph/generated/models/file_storage_container.py +7 -0
- 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/fraud_protection_configuration.py +66 -0
- msgraph/generated/models/fraud_protection_provider.py +76 -0
- msgraph/generated/models/fraud_protection_provider_collection_response.py +58 -0
- msgraph/generated/models/fraud_protection_provider_configuration.py +60 -0
- msgraph/generated/models/human_security_fraud_protection_provider.py +61 -0
- msgraph/generated/models/identity_container.py +1 -1
- msgraph/generated/models/identity_governance/activate_group_scope.py +60 -0
- msgraph/generated/models/identity_governance/activate_processing_result_scope.py +67 -0
- msgraph/generated/models/identity_governance/activate_run_scope.py +74 -0
- msgraph/generated/models/identity_governance/activate_user_scope.py +60 -0
- msgraph/generated/models/identity_governance/activation_scope.py +87 -0
- msgraph/generated/models/identity_governance/activation_task_scope_type.py +7 -0
- msgraph/generated/models/identity_governance/activation_user_scope_type.py +7 -0
- msgraph/generated/models/identity_governance/run.py +11 -0
- msgraph/generated/models/identity_governance/user_inactivity_trigger.py +57 -0
- msgraph/generated/models/identity_governance/user_processing_result.py +8 -1
- msgraph/generated/models/identity_governance/workflow_execution_trigger.py +7 -0
- msgraph/generated/models/identity_governance/workflow_execution_type.py +1 -0
- msgraph/generated/models/level_map.py +78 -0
- msgraph/generated/models/level_map_collection_response.py +58 -0
- msgraph/generated/models/mailbox_details.py +58 -0
- msgraph/generated/models/on_fraud_protection_load_start_external_users_auth_handler.py +60 -0
- msgraph/generated/models/on_fraud_protection_load_start_handler.py +66 -0
- msgraph/generated/models/on_fraud_protection_load_start_listener.py +60 -0
- msgraph/generated/models/place.py +58 -0
- msgraph/generated/models/place_mode.py +80 -0
- msgraph/generated/models/planner_plan_container.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/restore_session_base.py +1 -1
- msgraph/generated/models/risk_detection.py +1 -1
- msgraph/generated/models/risk_prevention_container.py +9 -2
- 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 +1 -1
- msgraph/generated/models/room.py +0 -12
- msgraph/generated/models/room_list.py +7 -0
- 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_evidence.py +7 -0
- msgraph/generated/models/security/ediscovery_export_operation.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 +21 -0
- msgraph/generated/models/security/identity_provider.py +8 -0
- msgraph/generated/models/security/invoke_action_result.py +76 -0
- msgraph/generated/models/security/sensor_candidate.py +66 -0
- msgraph/generated/models/security/sensor_candidate_activation_configuration.py +60 -0
- msgraph/generated/models/security/sensor_candidate_activation_mode.py +7 -0
- msgraph/generated/models/security/sensor_candidate_collection_response.py +58 -0
- msgraph/generated/models/security/user.py +61 -0
- 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/sign_in.py +1 -1
- msgraph/generated/models/subject_rights_request_history.py +1 -1
- msgraph/generated/models/subject_rights_request_stage_detail.py +1 -1
- msgraph/generated/models/unit_map.py +57 -0
- msgraph/generated/models/unit_map_collection_response.py +58 -0
- msgraph/generated/models/web_application_firewall_dns_configuration.py +4 -4
- msgraph/generated/models/web_application_firewall_provider.py +1 -1
- msgraph/generated/models/web_application_firewall_verification_model.py +4 -4
- msgraph/generated/models/web_application_firewall_verification_result.py +3 -3
- msgraph/generated/models/web_application_firewall_verified_details.py +1 -1
- msgraph/generated/models/workforce_integration.py +1 -1
- msgraph/generated/models/workspace.py +76 -0
- msgraph/generated/models/workspace_collection_response.py +58 -0
- msgraph/generated/organization/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/permission_grants/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/places/graph_building/count/count_request_builder.py +104 -0
- msgraph/generated/places/graph_building/graph_building_request_builder.py +147 -0
- msgraph/generated/places/graph_desk/count/count_request_builder.py +104 -0
- msgraph/generated/places/graph_desk/graph_desk_request_builder.py +147 -0
- msgraph/generated/places/graph_floor/count/count_request_builder.py +104 -0
- msgraph/generated/places/graph_floor/graph_floor_request_builder.py +147 -0
- msgraph/generated/places/graph_section/count/count_request_builder.py +104 -0
- msgraph/generated/places/graph_section/graph_section_request_builder.py +147 -0
- msgraph/generated/places/graph_workspace/count/count_request_builder.py +104 -0
- msgraph/generated/places/graph_workspace/graph_workspace_request_builder.py +147 -0
- msgraph/generated/places/item/check_ins/check_ins_request_builder.py +208 -0
- msgraph/generated/places/item/check_ins/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
- 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 +127 -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 +208 -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 +208 -0
- msgraph/generated/places/item/graph_building/map/levels/item/fixtures/item/fixture_map_item_request_builder.py +188 -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 +208 -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 +188 -0
- msgraph/generated/places/item/graph_building/map/levels/item/units/units_request_builder.py +208 -0
- msgraph/generated/places/item/graph_building/map/levels/levels_request_builder.py +208 -0
- msgraph/generated/places/item/graph_building/map/map_request_builder.py +208 -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 +117 -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 +117 -0
- msgraph/generated/places/item/graph_room/check_ins/check_ins_request_builder.py +208 -0
- msgraph/generated/places/item/graph_room/check_ins/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_room/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_room/graph_room_request_builder.py +10 -0
- msgraph/generated/places/item/graph_room_list/check_ins/check_ins_request_builder.py +208 -0
- msgraph/generated/places/item/graph_room_list/check_ins/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_room_list/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_room_list/graph_room_list_request_builder.py +20 -0
- msgraph/generated/places/item/graph_room_list/rooms/item/check_ins/check_ins_request_builder.py +208 -0
- msgraph/generated/places/item/graph_room_list/rooms/item/check_ins/count/count_request_builder.py +104 -0
- msgraph/generated/places/item/graph_room_list/rooms/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
- msgraph/generated/places/item/graph_room_list/rooms/item/room_item_request_builder.py +10 -0
- 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 +117 -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 +117 -0
- msgraph/generated/places/item/place_item_request_builder.py +70 -0
- msgraph/generated/places/places_request_builder.py +50 -0
- msgraph/generated/security/identities/identities_request_builder.py +30 -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/security/identities/sensor_candidate_activation_configuration/sensor_candidate_activation_configuration_request_builder.py +189 -0
- msgraph/generated/security/identities/sensor_candidates/count/count_request_builder.py +104 -0
- msgraph/generated/security/identities/sensor_candidates/item/sensor_candidate_item_request_builder.py +188 -0
- msgraph/generated/security/identities/sensor_candidates/microsoft_graph_security_activate/activate_post_request_body.py +50 -0
- msgraph/generated/security/identities/sensor_candidates/microsoft_graph_security_activate/microsoft_graph_security_activate_request_builder.py +86 -0
- msgraph/generated/security/identities/sensor_candidates/sensor_candidates_request_builder.py +219 -0
- msgraph/generated/service_principals/item/restore/restore_request_builder.py +2 -2
- 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/employee_experience/assigned_roles/assigned_roles_request_builder.py +209 -0
- msgraph/generated/users/item/employee_experience/assigned_roles/count/count_request_builder.py +104 -0
- msgraph/generated/users/item/employee_experience/assigned_roles/item/engagement_role_item_request_builder.py +198 -0
- msgraph/generated/users/item/employee_experience/assigned_roles/item/members/count/count_request_builder.py +104 -0
- msgraph/generated/users/item/employee_experience/assigned_roles/item/members/item/engagement_role_member_item_request_builder.py +198 -0
- msgraph/generated/users/item/employee_experience/assigned_roles/item/members/item/user/mailbox_settings/mailbox_settings_request_builder.py +152 -0
- msgraph/generated/users/item/employee_experience/assigned_roles/item/members/item/user/service_provisioning_errors/count/count_request_builder.py +104 -0
- msgraph/generated/users/item/employee_experience/assigned_roles/item/members/item/user/service_provisioning_errors/service_provisioning_errors_request_builder.py +147 -0
- msgraph/generated/users/item/employee_experience/assigned_roles/item/members/item/user/user_request_builder.py +127 -0
- msgraph/generated/users/item/employee_experience/assigned_roles/item/members/members_request_builder.py +208 -0
- msgraph/generated/users/item/employee_experience/employee_experience_request_builder.py +10 -0
- msgraph/generated/users/item/restore/restore_request_builder.py +2 -2
- {msgraph_sdk-1.48.0.dist-info → msgraph_sdk-1.50.0.dist-info}/METADATA +1 -1
- {msgraph_sdk-1.48.0.dist-info → msgraph_sdk-1.50.0.dist-info}/RECORD +328 -106
- {msgraph_sdk-1.48.0.dist-info → msgraph_sdk-1.50.0.dist-info}/WHEEL +0 -0
- {msgraph_sdk-1.48.0.dist-info → msgraph_sdk-1.50.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,78 @@
|
|
|
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
|
+
from .fixture_map import FixtureMap
|
|
10
|
+
from .section_map import SectionMap
|
|
11
|
+
from .unit_map import UnitMap
|
|
12
|
+
|
|
13
|
+
from .base_map_feature import BaseMapFeature
|
|
14
|
+
|
|
15
|
+
@dataclass
|
|
16
|
+
class LevelMap(BaseMapFeature, Parsable):
|
|
17
|
+
# The OdataType property
|
|
18
|
+
odata_type: Optional[str] = "#microsoft.graph.levelMap"
|
|
19
|
+
# The fixtures property
|
|
20
|
+
fixtures: Optional[list[FixtureMap]] = None
|
|
21
|
+
# The placeId property
|
|
22
|
+
place_id: Optional[str] = None
|
|
23
|
+
# The sections property
|
|
24
|
+
sections: Optional[list[SectionMap]] = None
|
|
25
|
+
# The units property
|
|
26
|
+
units: Optional[list[UnitMap]] = None
|
|
27
|
+
|
|
28
|
+
@staticmethod
|
|
29
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> LevelMap:
|
|
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: LevelMap
|
|
34
|
+
"""
|
|
35
|
+
if parse_node is None:
|
|
36
|
+
raise TypeError("parse_node cannot be null.")
|
|
37
|
+
return LevelMap()
|
|
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 .base_map_feature import BaseMapFeature
|
|
45
|
+
from .fixture_map import FixtureMap
|
|
46
|
+
from .section_map import SectionMap
|
|
47
|
+
from .unit_map import UnitMap
|
|
48
|
+
|
|
49
|
+
from .base_map_feature import BaseMapFeature
|
|
50
|
+
from .fixture_map import FixtureMap
|
|
51
|
+
from .section_map import SectionMap
|
|
52
|
+
from .unit_map import UnitMap
|
|
53
|
+
|
|
54
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
55
|
+
"fixtures": lambda n : setattr(self, 'fixtures', n.get_collection_of_object_values(FixtureMap)),
|
|
56
|
+
"placeId": lambda n : setattr(self, 'place_id', n.get_str_value()),
|
|
57
|
+
"sections": lambda n : setattr(self, 'sections', n.get_collection_of_object_values(SectionMap)),
|
|
58
|
+
"units": lambda n : setattr(self, 'units', n.get_collection_of_object_values(UnitMap)),
|
|
59
|
+
}
|
|
60
|
+
super_fields = super().get_field_deserializers()
|
|
61
|
+
fields.update(super_fields)
|
|
62
|
+
return fields
|
|
63
|
+
|
|
64
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
65
|
+
"""
|
|
66
|
+
Serializes information the current object
|
|
67
|
+
param writer: Serialization writer to use to serialize this model
|
|
68
|
+
Returns: None
|
|
69
|
+
"""
|
|
70
|
+
if writer is None:
|
|
71
|
+
raise TypeError("writer cannot be null.")
|
|
72
|
+
super().serialize(writer)
|
|
73
|
+
writer.write_collection_of_object_values("fixtures", self.fixtures)
|
|
74
|
+
writer.write_str_value("placeId", self.place_id)
|
|
75
|
+
writer.write_collection_of_object_values("sections", self.sections)
|
|
76
|
+
writer.write_collection_of_object_values("units", self.units)
|
|
77
|
+
|
|
78
|
+
|
|
@@ -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 .level_map import LevelMap
|
|
10
|
+
|
|
11
|
+
from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
|
|
12
|
+
|
|
13
|
+
@dataclass
|
|
14
|
+
class LevelMapCollectionResponse(BaseCollectionPaginationCountResponse, Parsable):
|
|
15
|
+
# The value property
|
|
16
|
+
value: Optional[list[LevelMap]] = None
|
|
17
|
+
|
|
18
|
+
@staticmethod
|
|
19
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> LevelMapCollectionResponse:
|
|
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: LevelMapCollectionResponse
|
|
24
|
+
"""
|
|
25
|
+
if parse_node is None:
|
|
26
|
+
raise TypeError("parse_node cannot be null.")
|
|
27
|
+
return LevelMapCollectionResponse()
|
|
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 .level_map import LevelMap
|
|
36
|
+
|
|
37
|
+
from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
|
|
38
|
+
from .level_map import LevelMap
|
|
39
|
+
|
|
40
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
41
|
+
"value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(LevelMap)),
|
|
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,58 @@
|
|
|
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
|
+
@dataclass
|
|
9
|
+
class MailboxDetails(AdditionalDataHolder, BackedModel, Parsable):
|
|
10
|
+
# Stores model information.
|
|
11
|
+
backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False)
|
|
12
|
+
|
|
13
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
14
|
+
additional_data: dict[str, Any] = field(default_factory=dict)
|
|
15
|
+
# The emailAddress property
|
|
16
|
+
email_address: Optional[str] = None
|
|
17
|
+
# The externalDirectoryObjectId property
|
|
18
|
+
external_directory_object_id: Optional[str] = None
|
|
19
|
+
# The OdataType property
|
|
20
|
+
odata_type: Optional[str] = None
|
|
21
|
+
|
|
22
|
+
@staticmethod
|
|
23
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> MailboxDetails:
|
|
24
|
+
"""
|
|
25
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
26
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
27
|
+
Returns: MailboxDetails
|
|
28
|
+
"""
|
|
29
|
+
if parse_node is None:
|
|
30
|
+
raise TypeError("parse_node cannot be null.")
|
|
31
|
+
return MailboxDetails()
|
|
32
|
+
|
|
33
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
34
|
+
"""
|
|
35
|
+
The deserialization information for the current model
|
|
36
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
37
|
+
"""
|
|
38
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
39
|
+
"emailAddress": lambda n : setattr(self, 'email_address', n.get_str_value()),
|
|
40
|
+
"externalDirectoryObjectId": lambda n : setattr(self, 'external_directory_object_id', n.get_str_value()),
|
|
41
|
+
"@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()),
|
|
42
|
+
}
|
|
43
|
+
return fields
|
|
44
|
+
|
|
45
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
46
|
+
"""
|
|
47
|
+
Serializes information the current object
|
|
48
|
+
param writer: Serialization writer to use to serialize this model
|
|
49
|
+
Returns: None
|
|
50
|
+
"""
|
|
51
|
+
if writer is None:
|
|
52
|
+
raise TypeError("writer cannot be null.")
|
|
53
|
+
writer.write_str_value("emailAddress", self.email_address)
|
|
54
|
+
writer.write_str_value("externalDirectoryObjectId", self.external_directory_object_id)
|
|
55
|
+
writer.write_str_value("@odata.type", self.odata_type)
|
|
56
|
+
writer.write_additional_data_value(self.additional_data)
|
|
57
|
+
|
|
58
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
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 .fraud_protection_configuration import FraudProtectionConfiguration
|
|
9
|
+
from .on_fraud_protection_load_start_handler import OnFraudProtectionLoadStartHandler
|
|
10
|
+
|
|
11
|
+
from .on_fraud_protection_load_start_handler import OnFraudProtectionLoadStartHandler
|
|
12
|
+
|
|
13
|
+
@dataclass
|
|
14
|
+
class OnFraudProtectionLoadStartExternalUsersAuthHandler(OnFraudProtectionLoadStartHandler, Parsable):
|
|
15
|
+
# The OdataType property
|
|
16
|
+
odata_type: Optional[str] = "#microsoft.graph.onFraudProtectionLoadStartExternalUsersAuthHandler"
|
|
17
|
+
# Specifies the fraud protection configuration for sign-up events.
|
|
18
|
+
sign_up: Optional[FraudProtectionConfiguration] = None
|
|
19
|
+
|
|
20
|
+
@staticmethod
|
|
21
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> OnFraudProtectionLoadStartExternalUsersAuthHandler:
|
|
22
|
+
"""
|
|
23
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
24
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
25
|
+
Returns: OnFraudProtectionLoadStartExternalUsersAuthHandler
|
|
26
|
+
"""
|
|
27
|
+
if parse_node is None:
|
|
28
|
+
raise TypeError("parse_node cannot be null.")
|
|
29
|
+
return OnFraudProtectionLoadStartExternalUsersAuthHandler()
|
|
30
|
+
|
|
31
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
32
|
+
"""
|
|
33
|
+
The deserialization information for the current model
|
|
34
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
35
|
+
"""
|
|
36
|
+
from .fraud_protection_configuration import FraudProtectionConfiguration
|
|
37
|
+
from .on_fraud_protection_load_start_handler import OnFraudProtectionLoadStartHandler
|
|
38
|
+
|
|
39
|
+
from .fraud_protection_configuration import FraudProtectionConfiguration
|
|
40
|
+
from .on_fraud_protection_load_start_handler import OnFraudProtectionLoadStartHandler
|
|
41
|
+
|
|
42
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
43
|
+
"signUp": lambda n : setattr(self, 'sign_up', n.get_object_value(FraudProtectionConfiguration)),
|
|
44
|
+
}
|
|
45
|
+
super_fields = super().get_field_deserializers()
|
|
46
|
+
fields.update(super_fields)
|
|
47
|
+
return fields
|
|
48
|
+
|
|
49
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
50
|
+
"""
|
|
51
|
+
Serializes information the current object
|
|
52
|
+
param writer: Serialization writer to use to serialize this model
|
|
53
|
+
Returns: None
|
|
54
|
+
"""
|
|
55
|
+
if writer is None:
|
|
56
|
+
raise TypeError("writer cannot be null.")
|
|
57
|
+
super().serialize(writer)
|
|
58
|
+
writer.write_object_value("signUp", self.sign_up)
|
|
59
|
+
|
|
60
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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 .on_fraud_protection_load_start_external_users_auth_handler import OnFraudProtectionLoadStartExternalUsersAuthHandler
|
|
10
|
+
|
|
11
|
+
@dataclass
|
|
12
|
+
class OnFraudProtectionLoadStartHandler(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 OdataType property
|
|
19
|
+
odata_type: Optional[str] = None
|
|
20
|
+
|
|
21
|
+
@staticmethod
|
|
22
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> OnFraudProtectionLoadStartHandler:
|
|
23
|
+
"""
|
|
24
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
25
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
26
|
+
Returns: OnFraudProtectionLoadStartHandler
|
|
27
|
+
"""
|
|
28
|
+
if parse_node is None:
|
|
29
|
+
raise TypeError("parse_node cannot be null.")
|
|
30
|
+
try:
|
|
31
|
+
child_node = parse_node.get_child_node("@odata.type")
|
|
32
|
+
mapping_value = child_node.get_str_value() if child_node else None
|
|
33
|
+
except AttributeError:
|
|
34
|
+
mapping_value = None
|
|
35
|
+
if mapping_value and mapping_value.casefold() == "#microsoft.graph.onFraudProtectionLoadStartExternalUsersAuthHandler".casefold():
|
|
36
|
+
from .on_fraud_protection_load_start_external_users_auth_handler import OnFraudProtectionLoadStartExternalUsersAuthHandler
|
|
37
|
+
|
|
38
|
+
return OnFraudProtectionLoadStartExternalUsersAuthHandler()
|
|
39
|
+
return OnFraudProtectionLoadStartHandler()
|
|
40
|
+
|
|
41
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
42
|
+
"""
|
|
43
|
+
The deserialization information for the current model
|
|
44
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
45
|
+
"""
|
|
46
|
+
from .on_fraud_protection_load_start_external_users_auth_handler import OnFraudProtectionLoadStartExternalUsersAuthHandler
|
|
47
|
+
|
|
48
|
+
from .on_fraud_protection_load_start_external_users_auth_handler import OnFraudProtectionLoadStartExternalUsersAuthHandler
|
|
49
|
+
|
|
50
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
51
|
+
"@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()),
|
|
52
|
+
}
|
|
53
|
+
return fields
|
|
54
|
+
|
|
55
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
56
|
+
"""
|
|
57
|
+
Serializes information the current object
|
|
58
|
+
param writer: Serialization writer to use to serialize this model
|
|
59
|
+
Returns: None
|
|
60
|
+
"""
|
|
61
|
+
if writer is None:
|
|
62
|
+
raise TypeError("writer cannot be null.")
|
|
63
|
+
writer.write_str_value("@odata.type", self.odata_type)
|
|
64
|
+
writer.write_additional_data_value(self.additional_data)
|
|
65
|
+
|
|
66
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
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 .authentication_event_listener import AuthenticationEventListener
|
|
9
|
+
from .on_fraud_protection_load_start_handler import OnFraudProtectionLoadStartHandler
|
|
10
|
+
|
|
11
|
+
from .authentication_event_listener import AuthenticationEventListener
|
|
12
|
+
|
|
13
|
+
@dataclass
|
|
14
|
+
class OnFraudProtectionLoadStartListener(AuthenticationEventListener, Parsable):
|
|
15
|
+
# The OdataType property
|
|
16
|
+
odata_type: Optional[str] = "#microsoft.graph.onFraudProtectionLoadStartListener"
|
|
17
|
+
# Configuration for what to invoke if the event resolves to this listener.
|
|
18
|
+
handler: Optional[OnFraudProtectionLoadStartHandler] = None
|
|
19
|
+
|
|
20
|
+
@staticmethod
|
|
21
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> OnFraudProtectionLoadStartListener:
|
|
22
|
+
"""
|
|
23
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
24
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
25
|
+
Returns: OnFraudProtectionLoadStartListener
|
|
26
|
+
"""
|
|
27
|
+
if parse_node is None:
|
|
28
|
+
raise TypeError("parse_node cannot be null.")
|
|
29
|
+
return OnFraudProtectionLoadStartListener()
|
|
30
|
+
|
|
31
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
32
|
+
"""
|
|
33
|
+
The deserialization information for the current model
|
|
34
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
35
|
+
"""
|
|
36
|
+
from .authentication_event_listener import AuthenticationEventListener
|
|
37
|
+
from .on_fraud_protection_load_start_handler import OnFraudProtectionLoadStartHandler
|
|
38
|
+
|
|
39
|
+
from .authentication_event_listener import AuthenticationEventListener
|
|
40
|
+
from .on_fraud_protection_load_start_handler import OnFraudProtectionLoadStartHandler
|
|
41
|
+
|
|
42
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
43
|
+
"handler": lambda n : setattr(self, 'handler', n.get_object_value(OnFraudProtectionLoadStartHandler)),
|
|
44
|
+
}
|
|
45
|
+
super_fields = super().get_field_deserializers()
|
|
46
|
+
fields.update(super_fields)
|
|
47
|
+
return fields
|
|
48
|
+
|
|
49
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
50
|
+
"""
|
|
51
|
+
Serializes information the current object
|
|
52
|
+
param writer: Serialization writer to use to serialize this model
|
|
53
|
+
Returns: None
|
|
54
|
+
"""
|
|
55
|
+
if writer is None:
|
|
56
|
+
raise TypeError("writer cannot be null.")
|
|
57
|
+
super().serialize(writer)
|
|
58
|
+
writer.write_object_value("handler", self.handler)
|
|
59
|
+
|
|
60
|
+
|
|
@@ -5,11 +5,17 @@ from kiota_abstractions.serialization import Parsable, ParseNode, SerializationW
|
|
|
5
5
|
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
6
6
|
|
|
7
7
|
if TYPE_CHECKING:
|
|
8
|
+
from .building import Building
|
|
9
|
+
from .check_in_claim import CheckInClaim
|
|
10
|
+
from .desk import Desk
|
|
8
11
|
from .entity import Entity
|
|
12
|
+
from .floor import Floor
|
|
9
13
|
from .outlook_geo_coordinates import OutlookGeoCoordinates
|
|
10
14
|
from .physical_address import PhysicalAddress
|
|
11
15
|
from .room import Room
|
|
12
16
|
from .room_list import RoomList
|
|
17
|
+
from .section import Section
|
|
18
|
+
from .workspace import Workspace
|
|
13
19
|
|
|
14
20
|
from .entity import Entity
|
|
15
21
|
|
|
@@ -17,14 +23,24 @@ from .entity import Entity
|
|
|
17
23
|
class Place(Entity, Parsable):
|
|
18
24
|
# The street address of the place.
|
|
19
25
|
address: Optional[PhysicalAddress] = None
|
|
26
|
+
# The checkIns property
|
|
27
|
+
check_ins: Optional[list[CheckInClaim]] = None
|
|
20
28
|
# The name associated with the place.
|
|
21
29
|
display_name: Optional[str] = None
|
|
22
30
|
# Specifies the place location in latitude, longitude, and (optionally) altitude coordinates.
|
|
23
31
|
geo_coordinates: Optional[OutlookGeoCoordinates] = None
|
|
32
|
+
# The isWheelChairAccessible property
|
|
33
|
+
is_wheel_chair_accessible: Optional[bool] = None
|
|
34
|
+
# The label property
|
|
35
|
+
label: Optional[str] = None
|
|
24
36
|
# The OdataType property
|
|
25
37
|
odata_type: Optional[str] = None
|
|
38
|
+
# The parentId property
|
|
39
|
+
parent_id: Optional[str] = None
|
|
26
40
|
# The phone number of the place.
|
|
27
41
|
phone: Optional[str] = None
|
|
42
|
+
# The tags property
|
|
43
|
+
tags: Optional[list[str]] = None
|
|
28
44
|
|
|
29
45
|
@staticmethod
|
|
30
46
|
def create_from_discriminator_value(parse_node: ParseNode) -> Place:
|
|
@@ -40,6 +56,18 @@ class Place(Entity, Parsable):
|
|
|
40
56
|
mapping_value = child_node.get_str_value() if child_node else None
|
|
41
57
|
except AttributeError:
|
|
42
58
|
mapping_value = None
|
|
59
|
+
if mapping_value and mapping_value.casefold() == "#microsoft.graph.building".casefold():
|
|
60
|
+
from .building import Building
|
|
61
|
+
|
|
62
|
+
return Building()
|
|
63
|
+
if mapping_value and mapping_value.casefold() == "#microsoft.graph.desk".casefold():
|
|
64
|
+
from .desk import Desk
|
|
65
|
+
|
|
66
|
+
return Desk()
|
|
67
|
+
if mapping_value and mapping_value.casefold() == "#microsoft.graph.floor".casefold():
|
|
68
|
+
from .floor import Floor
|
|
69
|
+
|
|
70
|
+
return Floor()
|
|
43
71
|
if mapping_value and mapping_value.casefold() == "#microsoft.graph.room".casefold():
|
|
44
72
|
from .room import Room
|
|
45
73
|
|
|
@@ -48,6 +76,14 @@ class Place(Entity, Parsable):
|
|
|
48
76
|
from .room_list import RoomList
|
|
49
77
|
|
|
50
78
|
return RoomList()
|
|
79
|
+
if mapping_value and mapping_value.casefold() == "#microsoft.graph.section".casefold():
|
|
80
|
+
from .section import Section
|
|
81
|
+
|
|
82
|
+
return Section()
|
|
83
|
+
if mapping_value and mapping_value.casefold() == "#microsoft.graph.workspace".casefold():
|
|
84
|
+
from .workspace import Workspace
|
|
85
|
+
|
|
86
|
+
return Workspace()
|
|
51
87
|
return Place()
|
|
52
88
|
|
|
53
89
|
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
@@ -55,23 +91,40 @@ class Place(Entity, Parsable):
|
|
|
55
91
|
The deserialization information for the current model
|
|
56
92
|
Returns: dict[str, Callable[[ParseNode], None]]
|
|
57
93
|
"""
|
|
94
|
+
from .building import Building
|
|
95
|
+
from .check_in_claim import CheckInClaim
|
|
96
|
+
from .desk import Desk
|
|
58
97
|
from .entity import Entity
|
|
98
|
+
from .floor import Floor
|
|
59
99
|
from .outlook_geo_coordinates import OutlookGeoCoordinates
|
|
60
100
|
from .physical_address import PhysicalAddress
|
|
61
101
|
from .room import Room
|
|
62
102
|
from .room_list import RoomList
|
|
103
|
+
from .section import Section
|
|
104
|
+
from .workspace import Workspace
|
|
63
105
|
|
|
106
|
+
from .building import Building
|
|
107
|
+
from .check_in_claim import CheckInClaim
|
|
108
|
+
from .desk import Desk
|
|
64
109
|
from .entity import Entity
|
|
110
|
+
from .floor import Floor
|
|
65
111
|
from .outlook_geo_coordinates import OutlookGeoCoordinates
|
|
66
112
|
from .physical_address import PhysicalAddress
|
|
67
113
|
from .room import Room
|
|
68
114
|
from .room_list import RoomList
|
|
115
|
+
from .section import Section
|
|
116
|
+
from .workspace import Workspace
|
|
69
117
|
|
|
70
118
|
fields: dict[str, Callable[[Any], None]] = {
|
|
71
119
|
"address": lambda n : setattr(self, 'address', n.get_object_value(PhysicalAddress)),
|
|
120
|
+
"checkIns": lambda n : setattr(self, 'check_ins', n.get_collection_of_object_values(CheckInClaim)),
|
|
72
121
|
"displayName": lambda n : setattr(self, 'display_name', n.get_str_value()),
|
|
73
122
|
"geoCoordinates": lambda n : setattr(self, 'geo_coordinates', n.get_object_value(OutlookGeoCoordinates)),
|
|
123
|
+
"isWheelChairAccessible": lambda n : setattr(self, 'is_wheel_chair_accessible', n.get_bool_value()),
|
|
124
|
+
"label": lambda n : setattr(self, 'label', n.get_str_value()),
|
|
125
|
+
"parentId": lambda n : setattr(self, 'parent_id', n.get_str_value()),
|
|
74
126
|
"phone": lambda n : setattr(self, 'phone', n.get_str_value()),
|
|
127
|
+
"tags": lambda n : setattr(self, 'tags', n.get_collection_of_primitive_values(str)),
|
|
75
128
|
}
|
|
76
129
|
super_fields = super().get_field_deserializers()
|
|
77
130
|
fields.update(super_fields)
|
|
@@ -87,8 +140,13 @@ class Place(Entity, Parsable):
|
|
|
87
140
|
raise TypeError("writer cannot be null.")
|
|
88
141
|
super().serialize(writer)
|
|
89
142
|
writer.write_object_value("address", self.address)
|
|
143
|
+
writer.write_collection_of_object_values("checkIns", self.check_ins)
|
|
90
144
|
writer.write_str_value("displayName", self.display_name)
|
|
91
145
|
writer.write_object_value("geoCoordinates", self.geo_coordinates)
|
|
146
|
+
writer.write_bool_value("isWheelChairAccessible", self.is_wheel_chair_accessible)
|
|
147
|
+
writer.write_str_value("label", self.label)
|
|
148
|
+
writer.write_str_value("parentId", self.parent_id)
|
|
92
149
|
writer.write_str_value("phone", self.phone)
|
|
150
|
+
writer.write_collection_of_primitive_values("tags", self.tags)
|
|
93
151
|
|
|
94
152
|
|
|
@@ -0,0 +1,80 @@
|
|
|
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 .assigned_place_mode import AssignedPlaceMode
|
|
10
|
+
from .drop_in_place_mode import DropInPlaceMode
|
|
11
|
+
from .reservable_place_mode import ReservablePlaceMode
|
|
12
|
+
|
|
13
|
+
@dataclass
|
|
14
|
+
class PlaceMode(AdditionalDataHolder, BackedModel, Parsable):
|
|
15
|
+
# Stores model information.
|
|
16
|
+
backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False)
|
|
17
|
+
|
|
18
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
19
|
+
additional_data: dict[str, Any] = field(default_factory=dict)
|
|
20
|
+
# The OdataType property
|
|
21
|
+
odata_type: Optional[str] = None
|
|
22
|
+
|
|
23
|
+
@staticmethod
|
|
24
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> PlaceMode:
|
|
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: PlaceMode
|
|
29
|
+
"""
|
|
30
|
+
if parse_node is None:
|
|
31
|
+
raise TypeError("parse_node cannot be null.")
|
|
32
|
+
try:
|
|
33
|
+
child_node = parse_node.get_child_node("@odata.type")
|
|
34
|
+
mapping_value = child_node.get_str_value() if child_node else None
|
|
35
|
+
except AttributeError:
|
|
36
|
+
mapping_value = None
|
|
37
|
+
if mapping_value and mapping_value.casefold() == "#microsoft.graph.assignedPlaceMode".casefold():
|
|
38
|
+
from .assigned_place_mode import AssignedPlaceMode
|
|
39
|
+
|
|
40
|
+
return AssignedPlaceMode()
|
|
41
|
+
if mapping_value and mapping_value.casefold() == "#microsoft.graph.dropInPlaceMode".casefold():
|
|
42
|
+
from .drop_in_place_mode import DropInPlaceMode
|
|
43
|
+
|
|
44
|
+
return DropInPlaceMode()
|
|
45
|
+
if mapping_value and mapping_value.casefold() == "#microsoft.graph.reservablePlaceMode".casefold():
|
|
46
|
+
from .reservable_place_mode import ReservablePlaceMode
|
|
47
|
+
|
|
48
|
+
return ReservablePlaceMode()
|
|
49
|
+
return PlaceMode()
|
|
50
|
+
|
|
51
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
52
|
+
"""
|
|
53
|
+
The deserialization information for the current model
|
|
54
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
55
|
+
"""
|
|
56
|
+
from .assigned_place_mode import AssignedPlaceMode
|
|
57
|
+
from .drop_in_place_mode import DropInPlaceMode
|
|
58
|
+
from .reservable_place_mode import ReservablePlaceMode
|
|
59
|
+
|
|
60
|
+
from .assigned_place_mode import AssignedPlaceMode
|
|
61
|
+
from .drop_in_place_mode import DropInPlaceMode
|
|
62
|
+
from .reservable_place_mode import ReservablePlaceMode
|
|
63
|
+
|
|
64
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
65
|
+
"@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()),
|
|
66
|
+
}
|
|
67
|
+
return fields
|
|
68
|
+
|
|
69
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
70
|
+
"""
|
|
71
|
+
Serializes information the current object
|
|
72
|
+
param writer: Serialization writer to use to serialize this model
|
|
73
|
+
Returns: None
|
|
74
|
+
"""
|
|
75
|
+
if writer is None:
|
|
76
|
+
raise TypeError("writer cannot be null.")
|
|
77
|
+
writer.write_str_value("@odata.type", self.odata_type)
|
|
78
|
+
writer.write_additional_data_value(self.additional_data)
|
|
79
|
+
|
|
80
|
+
|
|
@@ -19,7 +19,7 @@ class PlannerPlanContainer(AdditionalDataHolder, BackedModel, Parsable):
|
|
|
19
19
|
container_id: Optional[str] = None
|
|
20
20
|
# The OdataType property
|
|
21
21
|
odata_type: Optional[str] = None
|
|
22
|
-
# The type of the resource that contains the plan. For supported types, see the previous table. Possible values are: group, unknownFutureValue, roster. Use the Prefer: include-unknown-enum-members request header to get the following
|
|
22
|
+
# The type of the resource that contains the plan. For supported types, see the previous table. Possible values are: group, unknownFutureValue, roster. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: roster. Optional.
|
|
23
23
|
type: Optional[PlannerContainerType] = None
|
|
24
24
|
# The full canonical URL of the container. Optional.
|
|
25
25
|
url: Optional[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_mode import PlaceMode
|
|
9
|
+
|
|
10
|
+
from .place_mode import PlaceMode
|
|
11
|
+
|
|
12
|
+
@dataclass
|
|
13
|
+
class ReservablePlaceMode(PlaceMode, Parsable):
|
|
14
|
+
# The OdataType property
|
|
15
|
+
odata_type: Optional[str] = "#microsoft.graph.reservablePlaceMode"
|
|
16
|
+
|
|
17
|
+
@staticmethod
|
|
18
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> ReservablePlaceMode:
|
|
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: ReservablePlaceMode
|
|
23
|
+
"""
|
|
24
|
+
if parse_node is None:
|
|
25
|
+
raise TypeError("parse_node cannot be null.")
|
|
26
|
+
return ReservablePlaceMode()
|
|
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_mode import PlaceMode
|
|
34
|
+
|
|
35
|
+
from .place_mode import PlaceMode
|
|
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
|
+
|