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,209 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from collections.abc import Callable
|
|
3
|
+
from dataclasses import dataclass, field
|
|
4
|
+
from kiota_abstractions.base_request_builder import BaseRequestBuilder
|
|
5
|
+
from kiota_abstractions.base_request_configuration import RequestConfiguration
|
|
6
|
+
from kiota_abstractions.default_query_parameters import QueryParameters
|
|
7
|
+
from kiota_abstractions.get_path_parameters import get_path_parameters
|
|
8
|
+
from kiota_abstractions.method import Method
|
|
9
|
+
from kiota_abstractions.request_adapter import RequestAdapter
|
|
10
|
+
from kiota_abstractions.request_information import RequestInformation
|
|
11
|
+
from kiota_abstractions.request_option import RequestOption
|
|
12
|
+
from kiota_abstractions.serialization import Parsable, ParsableFactory
|
|
13
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
14
|
+
from warnings import warn
|
|
15
|
+
|
|
16
|
+
if TYPE_CHECKING:
|
|
17
|
+
from ...models.engagement_role import EngagementRole
|
|
18
|
+
from ...models.engagement_role_collection_response import EngagementRoleCollectionResponse
|
|
19
|
+
from ...models.o_data_errors.o_data_error import ODataError
|
|
20
|
+
from .count.count_request_builder import CountRequestBuilder
|
|
21
|
+
from .item.engagement_role_item_request_builder import EngagementRoleItemRequestBuilder
|
|
22
|
+
|
|
23
|
+
class RolesRequestBuilder(BaseRequestBuilder):
|
|
24
|
+
"""
|
|
25
|
+
Provides operations to manage the roles property of the microsoft.graph.employeeExperience entity.
|
|
26
|
+
"""
|
|
27
|
+
def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None:
|
|
28
|
+
"""
|
|
29
|
+
Instantiates a new RolesRequestBuilder and sets the default values.
|
|
30
|
+
param path_parameters: The raw url or the url-template parameters for the request.
|
|
31
|
+
param request_adapter: The request adapter to use to execute the requests.
|
|
32
|
+
Returns: None
|
|
33
|
+
"""
|
|
34
|
+
super().__init__(request_adapter, "{+baseurl}/employeeExperience/roles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters)
|
|
35
|
+
|
|
36
|
+
def by_engagement_role_id(self,engagement_role_id: str) -> EngagementRoleItemRequestBuilder:
|
|
37
|
+
"""
|
|
38
|
+
Provides operations to manage the roles property of the microsoft.graph.employeeExperience entity.
|
|
39
|
+
param engagement_role_id: The unique identifier of engagementRole
|
|
40
|
+
Returns: EngagementRoleItemRequestBuilder
|
|
41
|
+
"""
|
|
42
|
+
if engagement_role_id is None:
|
|
43
|
+
raise TypeError("engagement_role_id cannot be null.")
|
|
44
|
+
from .item.engagement_role_item_request_builder import EngagementRoleItemRequestBuilder
|
|
45
|
+
|
|
46
|
+
url_tpl_params = get_path_parameters(self.path_parameters)
|
|
47
|
+
url_tpl_params["engagementRole%2Did"] = engagement_role_id
|
|
48
|
+
return EngagementRoleItemRequestBuilder(self.request_adapter, url_tpl_params)
|
|
49
|
+
|
|
50
|
+
async def get(self,request_configuration: Optional[RequestConfiguration[RolesRequestBuilderGetQueryParameters]] = None) -> Optional[EngagementRoleCollectionResponse]:
|
|
51
|
+
"""
|
|
52
|
+
Get a list of all the roles that can be assigned in Viva Engage.
|
|
53
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
54
|
+
Returns: Optional[EngagementRoleCollectionResponse]
|
|
55
|
+
Find more info here: https://learn.microsoft.com/graph/api/employeeexperience-list-roles?view=graph-rest-1.0
|
|
56
|
+
"""
|
|
57
|
+
request_info = self.to_get_request_information(
|
|
58
|
+
request_configuration
|
|
59
|
+
)
|
|
60
|
+
from ...models.o_data_errors.o_data_error import ODataError
|
|
61
|
+
|
|
62
|
+
error_mapping: dict[str, type[ParsableFactory]] = {
|
|
63
|
+
"XXX": ODataError,
|
|
64
|
+
}
|
|
65
|
+
if not self.request_adapter:
|
|
66
|
+
raise Exception("Http core is null")
|
|
67
|
+
from ...models.engagement_role_collection_response import EngagementRoleCollectionResponse
|
|
68
|
+
|
|
69
|
+
return await self.request_adapter.send_async(request_info, EngagementRoleCollectionResponse, error_mapping)
|
|
70
|
+
|
|
71
|
+
async def post(self,body: EngagementRole, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[EngagementRole]:
|
|
72
|
+
"""
|
|
73
|
+
Create new navigation property to roles for employeeExperience
|
|
74
|
+
param body: The request body
|
|
75
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
76
|
+
Returns: Optional[EngagementRole]
|
|
77
|
+
"""
|
|
78
|
+
if body is None:
|
|
79
|
+
raise TypeError("body cannot be null.")
|
|
80
|
+
request_info = self.to_post_request_information(
|
|
81
|
+
body, request_configuration
|
|
82
|
+
)
|
|
83
|
+
from ...models.o_data_errors.o_data_error import ODataError
|
|
84
|
+
|
|
85
|
+
error_mapping: dict[str, type[ParsableFactory]] = {
|
|
86
|
+
"XXX": ODataError,
|
|
87
|
+
}
|
|
88
|
+
if not self.request_adapter:
|
|
89
|
+
raise Exception("Http core is null")
|
|
90
|
+
from ...models.engagement_role import EngagementRole
|
|
91
|
+
|
|
92
|
+
return await self.request_adapter.send_async(request_info, EngagementRole, error_mapping)
|
|
93
|
+
|
|
94
|
+
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RolesRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
|
95
|
+
"""
|
|
96
|
+
Get a list of all the roles that can be assigned in Viva Engage.
|
|
97
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
98
|
+
Returns: RequestInformation
|
|
99
|
+
"""
|
|
100
|
+
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
|
|
101
|
+
request_info.configure(request_configuration)
|
|
102
|
+
request_info.headers.try_add("Accept", "application/json")
|
|
103
|
+
return request_info
|
|
104
|
+
|
|
105
|
+
def to_post_request_information(self,body: EngagementRole, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
|
106
|
+
"""
|
|
107
|
+
Create new navigation property to roles for employeeExperience
|
|
108
|
+
param body: The request body
|
|
109
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
110
|
+
Returns: RequestInformation
|
|
111
|
+
"""
|
|
112
|
+
if body is None:
|
|
113
|
+
raise TypeError("body cannot be null.")
|
|
114
|
+
request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters)
|
|
115
|
+
request_info.configure(request_configuration)
|
|
116
|
+
request_info.headers.try_add("Accept", "application/json")
|
|
117
|
+
request_info.set_content_from_parsable(self.request_adapter, "application/json", body)
|
|
118
|
+
return request_info
|
|
119
|
+
|
|
120
|
+
def with_url(self,raw_url: str) -> RolesRequestBuilder:
|
|
121
|
+
"""
|
|
122
|
+
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
|
|
123
|
+
param raw_url: The raw URL to use for the request builder.
|
|
124
|
+
Returns: RolesRequestBuilder
|
|
125
|
+
"""
|
|
126
|
+
if raw_url is None:
|
|
127
|
+
raise TypeError("raw_url cannot be null.")
|
|
128
|
+
return RolesRequestBuilder(self.request_adapter, raw_url)
|
|
129
|
+
|
|
130
|
+
@property
|
|
131
|
+
def count(self) -> CountRequestBuilder:
|
|
132
|
+
"""
|
|
133
|
+
Provides operations to count the resources in the collection.
|
|
134
|
+
"""
|
|
135
|
+
from .count.count_request_builder import CountRequestBuilder
|
|
136
|
+
|
|
137
|
+
return CountRequestBuilder(self.request_adapter, self.path_parameters)
|
|
138
|
+
|
|
139
|
+
@dataclass
|
|
140
|
+
class RolesRequestBuilderGetQueryParameters():
|
|
141
|
+
"""
|
|
142
|
+
Get a list of all the roles that can be assigned in Viva Engage.
|
|
143
|
+
"""
|
|
144
|
+
def get_query_parameter(self,original_name: str) -> str:
|
|
145
|
+
"""
|
|
146
|
+
Maps the query parameters names to their encoded names for the URI template parsing.
|
|
147
|
+
param original_name: The original query parameter name in the class.
|
|
148
|
+
Returns: str
|
|
149
|
+
"""
|
|
150
|
+
if original_name is None:
|
|
151
|
+
raise TypeError("original_name cannot be null.")
|
|
152
|
+
if original_name == "count":
|
|
153
|
+
return "%24count"
|
|
154
|
+
if original_name == "expand":
|
|
155
|
+
return "%24expand"
|
|
156
|
+
if original_name == "filter":
|
|
157
|
+
return "%24filter"
|
|
158
|
+
if original_name == "orderby":
|
|
159
|
+
return "%24orderby"
|
|
160
|
+
if original_name == "search":
|
|
161
|
+
return "%24search"
|
|
162
|
+
if original_name == "select":
|
|
163
|
+
return "%24select"
|
|
164
|
+
if original_name == "skip":
|
|
165
|
+
return "%24skip"
|
|
166
|
+
if original_name == "top":
|
|
167
|
+
return "%24top"
|
|
168
|
+
return original_name
|
|
169
|
+
|
|
170
|
+
# Include count of items
|
|
171
|
+
count: Optional[bool] = None
|
|
172
|
+
|
|
173
|
+
# Expand related entities
|
|
174
|
+
expand: Optional[list[str]] = None
|
|
175
|
+
|
|
176
|
+
# Filter items by property values
|
|
177
|
+
filter: Optional[str] = None
|
|
178
|
+
|
|
179
|
+
# Order items by property values
|
|
180
|
+
orderby: Optional[list[str]] = None
|
|
181
|
+
|
|
182
|
+
# Search items by search phrases
|
|
183
|
+
search: Optional[str] = None
|
|
184
|
+
|
|
185
|
+
# Select properties to be returned
|
|
186
|
+
select: Optional[list[str]] = None
|
|
187
|
+
|
|
188
|
+
# Skip the first n items
|
|
189
|
+
skip: Optional[int] = None
|
|
190
|
+
|
|
191
|
+
# Show only the first n items
|
|
192
|
+
top: Optional[int] = None
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
@dataclass
|
|
196
|
+
class RolesRequestBuilderGetRequestConfiguration(RequestConfiguration[RolesRequestBuilderGetQueryParameters]):
|
|
197
|
+
"""
|
|
198
|
+
Configuration for the request such as headers, query parameters, and middleware options.
|
|
199
|
+
"""
|
|
200
|
+
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
|
201
|
+
|
|
202
|
+
@dataclass
|
|
203
|
+
class RolesRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]):
|
|
204
|
+
"""
|
|
205
|
+
Configuration for the request such as headers, query parameters, and middleware options.
|
|
206
|
+
"""
|
|
207
|
+
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
|
208
|
+
|
|
209
|
+
|
|
@@ -32,7 +32,7 @@ class RestoreRequestBuilder(BaseRequestBuilder):
|
|
|
32
32
|
|
|
33
33
|
async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]:
|
|
34
34
|
"""
|
|
35
|
-
Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal
|
|
35
|
+
Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
|
|
36
36
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
37
|
Returns: Optional[DirectoryObject]
|
|
38
38
|
Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0
|
|
@@ -53,7 +53,7 @@ class RestoreRequestBuilder(BaseRequestBuilder):
|
|
|
53
53
|
|
|
54
54
|
def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
|
55
55
|
"""
|
|
56
|
-
Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal
|
|
56
|
+
Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
|
|
57
57
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
58
58
|
Returns: RequestInformation
|
|
59
59
|
"""
|
|
@@ -76,7 +76,7 @@ class GroupItemRequestBuilder(BaseRequestBuilder):
|
|
|
76
76
|
|
|
77
77
|
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
|
78
78
|
"""
|
|
79
|
-
Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This
|
|
79
|
+
Delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This doesn't apply to Distribution groups which are permanently deleted immediately. To learn more, see deletedItems.
|
|
80
80
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
81
81
|
Returns: None
|
|
82
82
|
Find more info here: https://learn.microsoft.com/graph/api/group-delete?view=graph-rest-1.0
|
|
@@ -140,7 +140,7 @@ class GroupItemRequestBuilder(BaseRequestBuilder):
|
|
|
140
140
|
|
|
141
141
|
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
|
142
142
|
"""
|
|
143
|
-
Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This
|
|
143
|
+
Delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This doesn't apply to Distribution groups which are permanently deleted immediately. To learn more, see deletedItems.
|
|
144
144
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
145
145
|
Returns: RequestInformation
|
|
146
146
|
"""
|
|
@@ -32,7 +32,7 @@ class RestoreRequestBuilder(BaseRequestBuilder):
|
|
|
32
32
|
|
|
33
33
|
async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]:
|
|
34
34
|
"""
|
|
35
|
-
Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal
|
|
35
|
+
Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
|
|
36
36
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
37
|
Returns: Optional[DirectoryObject]
|
|
38
38
|
Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0
|
|
@@ -53,7 +53,7 @@ class RestoreRequestBuilder(BaseRequestBuilder):
|
|
|
53
53
|
|
|
54
54
|
def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
|
55
55
|
"""
|
|
56
|
-
Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal
|
|
56
|
+
Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
|
|
57
57
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
58
58
|
Returns: RequestInformation
|
|
59
59
|
"""
|
|
@@ -35,7 +35,7 @@ class GroupsWithUniqueNameRequestBuilder(BaseRequestBuilder):
|
|
|
35
35
|
|
|
36
36
|
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
|
37
37
|
"""
|
|
38
|
-
Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This
|
|
38
|
+
Delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This doesn't apply to Distribution groups which are permanently deleted immediately. To learn more, see deletedItems.
|
|
39
39
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
40
40
|
Returns: None
|
|
41
41
|
Find more info here: https://learn.microsoft.com/graph/api/group-delete?view=graph-rest-1.0
|
|
@@ -99,7 +99,7 @@ class GroupsWithUniqueNameRequestBuilder(BaseRequestBuilder):
|
|
|
99
99
|
|
|
100
100
|
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
|
101
101
|
"""
|
|
102
|
-
Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This
|
|
102
|
+
Delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This doesn't apply to Distribution groups which are permanently deleted immediately. To learn more, see deletedItems.
|
|
103
103
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
104
104
|
Returns: RequestInformation
|
|
105
105
|
"""
|
msgraph/generated/identity/risk_prevention/fraud_protection_providers/count/count_request_builder.py
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from collections.abc import Callable
|
|
3
|
+
from dataclasses import dataclass, field
|
|
4
|
+
from kiota_abstractions.base_request_builder import BaseRequestBuilder
|
|
5
|
+
from kiota_abstractions.base_request_configuration import RequestConfiguration
|
|
6
|
+
from kiota_abstractions.default_query_parameters import QueryParameters
|
|
7
|
+
from kiota_abstractions.get_path_parameters import get_path_parameters
|
|
8
|
+
from kiota_abstractions.method import Method
|
|
9
|
+
from kiota_abstractions.request_adapter import RequestAdapter
|
|
10
|
+
from kiota_abstractions.request_information import RequestInformation
|
|
11
|
+
from kiota_abstractions.request_option import RequestOption
|
|
12
|
+
from kiota_abstractions.serialization import Parsable, ParsableFactory
|
|
13
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
14
|
+
from warnings import warn
|
|
15
|
+
|
|
16
|
+
if TYPE_CHECKING:
|
|
17
|
+
from .....models.o_data_errors.o_data_error import ODataError
|
|
18
|
+
|
|
19
|
+
class CountRequestBuilder(BaseRequestBuilder):
|
|
20
|
+
"""
|
|
21
|
+
Provides operations to count the resources in the collection.
|
|
22
|
+
"""
|
|
23
|
+
def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None:
|
|
24
|
+
"""
|
|
25
|
+
Instantiates a new CountRequestBuilder and sets the default values.
|
|
26
|
+
param path_parameters: The raw url or the url-template parameters for the request.
|
|
27
|
+
param request_adapter: The request adapter to use to execute the requests.
|
|
28
|
+
Returns: None
|
|
29
|
+
"""
|
|
30
|
+
super().__init__(request_adapter, "{+baseurl}/identity/riskPrevention/fraudProtectionProviders/$count{?%24filter,%24search}", path_parameters)
|
|
31
|
+
|
|
32
|
+
async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]:
|
|
33
|
+
"""
|
|
34
|
+
Get the number of the resource
|
|
35
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
Returns: Optional[int]
|
|
37
|
+
"""
|
|
38
|
+
request_info = self.to_get_request_information(
|
|
39
|
+
request_configuration
|
|
40
|
+
)
|
|
41
|
+
from .....models.o_data_errors.o_data_error import ODataError
|
|
42
|
+
|
|
43
|
+
error_mapping: dict[str, type[ParsableFactory]] = {
|
|
44
|
+
"XXX": ODataError,
|
|
45
|
+
}
|
|
46
|
+
if not self.request_adapter:
|
|
47
|
+
raise Exception("Http core is null")
|
|
48
|
+
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)
|
|
49
|
+
|
|
50
|
+
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
|
51
|
+
"""
|
|
52
|
+
Get the number of the resource
|
|
53
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
54
|
+
Returns: RequestInformation
|
|
55
|
+
"""
|
|
56
|
+
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
|
|
57
|
+
request_info.configure(request_configuration)
|
|
58
|
+
request_info.headers.try_add("Accept", "text/plain;q=0.9")
|
|
59
|
+
return request_info
|
|
60
|
+
|
|
61
|
+
def with_url(self,raw_url: str) -> CountRequestBuilder:
|
|
62
|
+
"""
|
|
63
|
+
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
|
|
64
|
+
param raw_url: The raw URL to use for the request builder.
|
|
65
|
+
Returns: CountRequestBuilder
|
|
66
|
+
"""
|
|
67
|
+
if raw_url is None:
|
|
68
|
+
raise TypeError("raw_url cannot be null.")
|
|
69
|
+
return CountRequestBuilder(self.request_adapter, raw_url)
|
|
70
|
+
|
|
71
|
+
@dataclass
|
|
72
|
+
class CountRequestBuilderGetQueryParameters():
|
|
73
|
+
"""
|
|
74
|
+
Get the number of the resource
|
|
75
|
+
"""
|
|
76
|
+
def get_query_parameter(self,original_name: str) -> str:
|
|
77
|
+
"""
|
|
78
|
+
Maps the query parameters names to their encoded names for the URI template parsing.
|
|
79
|
+
param original_name: The original query parameter name in the class.
|
|
80
|
+
Returns: str
|
|
81
|
+
"""
|
|
82
|
+
if original_name is None:
|
|
83
|
+
raise TypeError("original_name cannot be null.")
|
|
84
|
+
if original_name == "filter":
|
|
85
|
+
return "%24filter"
|
|
86
|
+
if original_name == "search":
|
|
87
|
+
return "%24search"
|
|
88
|
+
return original_name
|
|
89
|
+
|
|
90
|
+
# Filter items by property values
|
|
91
|
+
filter: Optional[str] = None
|
|
92
|
+
|
|
93
|
+
# Search items by search phrases
|
|
94
|
+
search: Optional[str] = None
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
@dataclass
|
|
98
|
+
class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]):
|
|
99
|
+
"""
|
|
100
|
+
Configuration for the request such as headers, query parameters, and middleware options.
|
|
101
|
+
"""
|
|
102
|
+
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
|
103
|
+
|
|
104
|
+
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from collections.abc import Callable
|
|
3
|
+
from dataclasses import dataclass, field
|
|
4
|
+
from kiota_abstractions.base_request_builder import BaseRequestBuilder
|
|
5
|
+
from kiota_abstractions.base_request_configuration import RequestConfiguration
|
|
6
|
+
from kiota_abstractions.default_query_parameters import QueryParameters
|
|
7
|
+
from kiota_abstractions.get_path_parameters import get_path_parameters
|
|
8
|
+
from kiota_abstractions.method import Method
|
|
9
|
+
from kiota_abstractions.request_adapter import RequestAdapter
|
|
10
|
+
from kiota_abstractions.request_information import RequestInformation
|
|
11
|
+
from kiota_abstractions.request_option import RequestOption
|
|
12
|
+
from kiota_abstractions.serialization import Parsable, ParsableFactory
|
|
13
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
14
|
+
from warnings import warn
|
|
15
|
+
|
|
16
|
+
if TYPE_CHECKING:
|
|
17
|
+
from ....models.fraud_protection_provider import FraudProtectionProvider
|
|
18
|
+
from ....models.fraud_protection_provider_collection_response import FraudProtectionProviderCollectionResponse
|
|
19
|
+
from ....models.o_data_errors.o_data_error import ODataError
|
|
20
|
+
from .count.count_request_builder import CountRequestBuilder
|
|
21
|
+
from .item.fraud_protection_provider_item_request_builder import FraudProtectionProviderItemRequestBuilder
|
|
22
|
+
|
|
23
|
+
class FraudProtectionProvidersRequestBuilder(BaseRequestBuilder):
|
|
24
|
+
"""
|
|
25
|
+
Provides operations to manage the fraudProtectionProviders property of the microsoft.graph.riskPreventionContainer entity.
|
|
26
|
+
"""
|
|
27
|
+
def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None:
|
|
28
|
+
"""
|
|
29
|
+
Instantiates a new FraudProtectionProvidersRequestBuilder and sets the default values.
|
|
30
|
+
param path_parameters: The raw url or the url-template parameters for the request.
|
|
31
|
+
param request_adapter: The request adapter to use to execute the requests.
|
|
32
|
+
Returns: None
|
|
33
|
+
"""
|
|
34
|
+
super().__init__(request_adapter, "{+baseurl}/identity/riskPrevention/fraudProtectionProviders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters)
|
|
35
|
+
|
|
36
|
+
def by_fraud_protection_provider_id(self,fraud_protection_provider_id: str) -> FraudProtectionProviderItemRequestBuilder:
|
|
37
|
+
"""
|
|
38
|
+
Provides operations to manage the fraudProtectionProviders property of the microsoft.graph.riskPreventionContainer entity.
|
|
39
|
+
param fraud_protection_provider_id: The unique identifier of fraudProtectionProvider
|
|
40
|
+
Returns: FraudProtectionProviderItemRequestBuilder
|
|
41
|
+
"""
|
|
42
|
+
if fraud_protection_provider_id is None:
|
|
43
|
+
raise TypeError("fraud_protection_provider_id cannot be null.")
|
|
44
|
+
from .item.fraud_protection_provider_item_request_builder import FraudProtectionProviderItemRequestBuilder
|
|
45
|
+
|
|
46
|
+
url_tpl_params = get_path_parameters(self.path_parameters)
|
|
47
|
+
url_tpl_params["fraudProtectionProvider%2Did"] = fraud_protection_provider_id
|
|
48
|
+
return FraudProtectionProviderItemRequestBuilder(self.request_adapter, url_tpl_params)
|
|
49
|
+
|
|
50
|
+
async def get(self,request_configuration: Optional[RequestConfiguration[FraudProtectionProvidersRequestBuilderGetQueryParameters]] = None) -> Optional[FraudProtectionProviderCollectionResponse]:
|
|
51
|
+
"""
|
|
52
|
+
Get a list of the fraudProtectionProvider object and their properties. The following derived types are supported:
|
|
53
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
54
|
+
Returns: Optional[FraudProtectionProviderCollectionResponse]
|
|
55
|
+
Find more info here: https://learn.microsoft.com/graph/api/riskpreventioncontainer-list-fraudprotectionproviders?view=graph-rest-1.0
|
|
56
|
+
"""
|
|
57
|
+
request_info = self.to_get_request_information(
|
|
58
|
+
request_configuration
|
|
59
|
+
)
|
|
60
|
+
from ....models.o_data_errors.o_data_error import ODataError
|
|
61
|
+
|
|
62
|
+
error_mapping: dict[str, type[ParsableFactory]] = {
|
|
63
|
+
"XXX": ODataError,
|
|
64
|
+
}
|
|
65
|
+
if not self.request_adapter:
|
|
66
|
+
raise Exception("Http core is null")
|
|
67
|
+
from ....models.fraud_protection_provider_collection_response import FraudProtectionProviderCollectionResponse
|
|
68
|
+
|
|
69
|
+
return await self.request_adapter.send_async(request_info, FraudProtectionProviderCollectionResponse, error_mapping)
|
|
70
|
+
|
|
71
|
+
async def post(self,body: FraudProtectionProvider, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[FraudProtectionProvider]:
|
|
72
|
+
"""
|
|
73
|
+
Create a new fraudProtectionProvider object. You can create one of the following subtypes that are derived from fraudProtectionProvider.
|
|
74
|
+
param body: The request body
|
|
75
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
76
|
+
Returns: Optional[FraudProtectionProvider]
|
|
77
|
+
Find more info here: https://learn.microsoft.com/graph/api/riskpreventioncontainer-post-fraudprotectionproviders?view=graph-rest-1.0
|
|
78
|
+
"""
|
|
79
|
+
if body is None:
|
|
80
|
+
raise TypeError("body cannot be null.")
|
|
81
|
+
request_info = self.to_post_request_information(
|
|
82
|
+
body, request_configuration
|
|
83
|
+
)
|
|
84
|
+
from ....models.o_data_errors.o_data_error import ODataError
|
|
85
|
+
|
|
86
|
+
error_mapping: dict[str, type[ParsableFactory]] = {
|
|
87
|
+
"XXX": ODataError,
|
|
88
|
+
}
|
|
89
|
+
if not self.request_adapter:
|
|
90
|
+
raise Exception("Http core is null")
|
|
91
|
+
from ....models.fraud_protection_provider import FraudProtectionProvider
|
|
92
|
+
|
|
93
|
+
return await self.request_adapter.send_async(request_info, FraudProtectionProvider, error_mapping)
|
|
94
|
+
|
|
95
|
+
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[FraudProtectionProvidersRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
|
96
|
+
"""
|
|
97
|
+
Get a list of the fraudProtectionProvider object and their properties. The following derived types are supported:
|
|
98
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
99
|
+
Returns: RequestInformation
|
|
100
|
+
"""
|
|
101
|
+
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
|
|
102
|
+
request_info.configure(request_configuration)
|
|
103
|
+
request_info.headers.try_add("Accept", "application/json")
|
|
104
|
+
return request_info
|
|
105
|
+
|
|
106
|
+
def to_post_request_information(self,body: FraudProtectionProvider, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
|
107
|
+
"""
|
|
108
|
+
Create a new fraudProtectionProvider object. You can create one of the following subtypes that are derived from fraudProtectionProvider.
|
|
109
|
+
param body: The request body
|
|
110
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
|
111
|
+
Returns: RequestInformation
|
|
112
|
+
"""
|
|
113
|
+
if body is None:
|
|
114
|
+
raise TypeError("body cannot be null.")
|
|
115
|
+
request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters)
|
|
116
|
+
request_info.configure(request_configuration)
|
|
117
|
+
request_info.headers.try_add("Accept", "application/json")
|
|
118
|
+
request_info.set_content_from_parsable(self.request_adapter, "application/json", body)
|
|
119
|
+
return request_info
|
|
120
|
+
|
|
121
|
+
def with_url(self,raw_url: str) -> FraudProtectionProvidersRequestBuilder:
|
|
122
|
+
"""
|
|
123
|
+
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
|
|
124
|
+
param raw_url: The raw URL to use for the request builder.
|
|
125
|
+
Returns: FraudProtectionProvidersRequestBuilder
|
|
126
|
+
"""
|
|
127
|
+
if raw_url is None:
|
|
128
|
+
raise TypeError("raw_url cannot be null.")
|
|
129
|
+
return FraudProtectionProvidersRequestBuilder(self.request_adapter, raw_url)
|
|
130
|
+
|
|
131
|
+
@property
|
|
132
|
+
def count(self) -> CountRequestBuilder:
|
|
133
|
+
"""
|
|
134
|
+
Provides operations to count the resources in the collection.
|
|
135
|
+
"""
|
|
136
|
+
from .count.count_request_builder import CountRequestBuilder
|
|
137
|
+
|
|
138
|
+
return CountRequestBuilder(self.request_adapter, self.path_parameters)
|
|
139
|
+
|
|
140
|
+
@dataclass
|
|
141
|
+
class FraudProtectionProvidersRequestBuilderGetQueryParameters():
|
|
142
|
+
"""
|
|
143
|
+
Get a list of the fraudProtectionProvider object and their properties. The following derived types are supported:
|
|
144
|
+
"""
|
|
145
|
+
def get_query_parameter(self,original_name: str) -> str:
|
|
146
|
+
"""
|
|
147
|
+
Maps the query parameters names to their encoded names for the URI template parsing.
|
|
148
|
+
param original_name: The original query parameter name in the class.
|
|
149
|
+
Returns: str
|
|
150
|
+
"""
|
|
151
|
+
if original_name is None:
|
|
152
|
+
raise TypeError("original_name cannot be null.")
|
|
153
|
+
if original_name == "count":
|
|
154
|
+
return "%24count"
|
|
155
|
+
if original_name == "expand":
|
|
156
|
+
return "%24expand"
|
|
157
|
+
if original_name == "filter":
|
|
158
|
+
return "%24filter"
|
|
159
|
+
if original_name == "orderby":
|
|
160
|
+
return "%24orderby"
|
|
161
|
+
if original_name == "search":
|
|
162
|
+
return "%24search"
|
|
163
|
+
if original_name == "select":
|
|
164
|
+
return "%24select"
|
|
165
|
+
if original_name == "skip":
|
|
166
|
+
return "%24skip"
|
|
167
|
+
if original_name == "top":
|
|
168
|
+
return "%24top"
|
|
169
|
+
return original_name
|
|
170
|
+
|
|
171
|
+
# Include count of items
|
|
172
|
+
count: Optional[bool] = None
|
|
173
|
+
|
|
174
|
+
# Expand related entities
|
|
175
|
+
expand: Optional[list[str]] = None
|
|
176
|
+
|
|
177
|
+
# Filter items by property values
|
|
178
|
+
filter: Optional[str] = None
|
|
179
|
+
|
|
180
|
+
# Order items by property values
|
|
181
|
+
orderby: Optional[list[str]] = None
|
|
182
|
+
|
|
183
|
+
# Search items by search phrases
|
|
184
|
+
search: Optional[str] = None
|
|
185
|
+
|
|
186
|
+
# Select properties to be returned
|
|
187
|
+
select: Optional[list[str]] = None
|
|
188
|
+
|
|
189
|
+
# Skip the first n items
|
|
190
|
+
skip: Optional[int] = None
|
|
191
|
+
|
|
192
|
+
# Show only the first n items
|
|
193
|
+
top: Optional[int] = None
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
@dataclass
|
|
197
|
+
class FraudProtectionProvidersRequestBuilderGetRequestConfiguration(RequestConfiguration[FraudProtectionProvidersRequestBuilderGetQueryParameters]):
|
|
198
|
+
"""
|
|
199
|
+
Configuration for the request such as headers, query parameters, and middleware options.
|
|
200
|
+
"""
|
|
201
|
+
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
|
202
|
+
|
|
203
|
+
@dataclass
|
|
204
|
+
class FraudProtectionProvidersRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]):
|
|
205
|
+
"""
|
|
206
|
+
Configuration for the request such as headers, query parameters, and middleware options.
|
|
207
|
+
"""
|
|
208
|
+
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
|
209
|
+
|
|
210
|
+
|